aider icon indicating copy to clipboard operation
aider copied to clipboard

Uncaught ValueError in exceptions.py line 71

Open khomouda opened this issue 5 months ago • 1 comments

Aider version: 0.86.2 Python version: 3.11.9 Platform: Windows-10-10.0.26100-SP0 Python implementation: CPython Virtual environment: No OS: Windows 10 (64bit) Git version: git version 2.53.0.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 5, in <module>
    sys.exit(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 71, in _load
    raise ValueError(f"{var} is in litellm but not in aider's exceptions list")
ValueError: PermissionDeniedError is in litellm but not in aider's exceptions list

khomouda avatar Jun 10 '26 18:06 khomouda

Thanks for trying aider and filing this issue.

This looks like a duplicate of #4847. Please see the comments there for more information, and feel free to continue the discussion within that issue.

I'm going to close this issue for now. But please let me know if you think this is actually a distinct issue and I will reopen this issue.

Note: A bot script made these updates to the issue.

github-actions[bot] avatar Jun 11 '26 00:06 github-actions[bot]