Skip to content

Unable to use deepseek-r1t2-chimera due to exception #193

@pjcreath

Description

@pjcreath

Issue

Sending any request to this model produces the following exception(s):

Traceback (most recent call last):
  File "litellm/main.py", line 544, in acompletion
    response = await init_response
               ^^^^^^^^^^^^^^^^^^^
  File "litellm/llms/custom_httpx/llm_http_handler.py", line 253, in async_completion
    return provider_config.transform_response(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "litellm/llms/openai/chat/gpt_transformation.py", line 631, in transform_response
    final_response_obj = convert_to_model_response_object(
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "litellm/litellm_core_utils/llm_response_utils/convert_dict_to_response.py", line 488, in 
convert_to_model_response_object
    raise raised_exception
Exception

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider/coders/base_coder.py", line 2068, in send_message
    async for chunk in self.send(messages, tools=self.get_tool_list()):
  File "aider/coders/base_coder.py", line 2831, in send
    hash_object, completion = await model.send_completion(
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "aider/models.py", line 997, in send_completion
    res = await litellm.acompletion(**kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "litellm/utils.py", line 1586, in wrapper_async
    raise e
  File "litellm/utils.py", line 1437, in wrapper_async
    result = await original_function(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "litellm/main.py", line 563, in acompletion
    raise exception_type(
          ^^^^^^^^^^^^^^^
  File "litellm/litellm_core_utils/exception_mapping_utils.py", line 2301, in exception_type
    raise e
  File "litellm/litellm_core_utils/exception_mapping_utils.py", line 2239, in exception_type
    request=original_exception.request,
            ^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Exception' object has no attribute 'request'

Version and model info

Aider v0.88.30
Model: openrouter/tngtech/deepseek-r1t2-chimera:free with ask edit format
Git repo: .git with 7,323 files
Repo-map: using 4096 tokens, files refresh

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions