Skip to content

Uncaught AttributeError in exceptions.py line 74 #4957

@purnachand812

Description

@purnachand812

Aider version: 0.86.2
Python version: 3.11.0
Platform: Windows-10-10.0.26200-SP0
Python implementation: CPython
Virtual environment: No
OS: Windows 10 (64bit)
Git version: git version 2.48.1.windows.1

An uncaught exception occurred:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "__main__.py", line 4, in <module>
    main()
  File "main.py", line 1162, in main
    coder.run()
  File "base_coder.py", line 887, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 934, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1451, in send_message
    litellm_ex = LiteLLMExceptions()
                 ^^^^^^^^^^^^^^^^^^^
  File "exceptions.py", line 60, in __init__
    self._load()
  File "exceptions.py", line 74, in _load
    ex = getattr(litellm, var)
         ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'litellm' has no attribute 'APIConnectionError'

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