Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught AttributeError in exceptions.py line 69 #3295

Open
puranjaigarg783 opened this issue Feb 18, 2025 · 0 comments
Open

Uncaught AttributeError in exceptions.py line 69 #3295

puranjaigarg783 opened this issue Feb 18, 2025 · 0 comments

Comments

@puranjaigarg783
Copy link

Aider version: 0.74.2
Python version: 3.12.3
Platform: Linux-6.8.0-52-generic-x86_64-with-glibc2.39
Python implementation: CPython
Virtual environment: Yes
OS: Linux 6.8.0-52-generic (64bit)
Git version: git version 2.43.0

An uncaught exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 1064, in main
    coder.run()
  File "base_coder.py", line 832, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 879, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1304, in send_message
    litellm_ex = LiteLLMExceptions()
                 ^^^^^^^^^^^^^^^^^^^
  File "exceptions.py", line 58, in __init__
    self._load()
  File "exceptions.py", line 69, in _load
    ex = getattr(litellm, var)
         ^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'litellm' has no attribute 'AzureOpenAIError'. Did you mean: 'OpenAIError'?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant