[Bug 290772] Entering a prompt to py311-aider_chat-0.86.1 crashes Aider AI.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Nov 2025 14:59:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290772

            Bug ID: 290772
           Summary: Entering a prompt to py311-aider_chat-0.86.1 crashes
                    Aider AI.
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: j6sbits@gmail.com

Follow command execs aider without issues:

`aider --model deepseek/deepseek-chat --watch-files --no-auto-commits`

Problems appear when you try to interact with the agent, it crashes immediately
you press enter to send the prompt to the llms. F

crash trace:

```
Aider version: 0.86.1
Python version: 3.11.13
Platform: FreeBSD-14.3-RELEASE-p3-amd64-64bit-ELF
Python implementation: CPython
Virtual environment: No
OS: FreeBSD 14.3-RELEASE-p3 (64bit)
Git version: git version 2.51.0

An uncaught exception occurred:

```
Traceback (most recent call last):
  File "aider", line 8, 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 58, in __init__
    self._load()
  File "exceptions.py", line 66, in _load
    raise ValueError(f"{var} is in litellm but not in aider's exceptions list")
ValueError: ImageFetchError is in litellm but not in aider's exceptions list

```

Please consider reporting this bug to help improve aider!
        ^CError in sys.excepthook:epseek-chat error in your browser? (Y/n)
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/aider/report.py", line 151, in
exception_handler
    report_github_issue(issue_text, title=title)
  File "/usr/local/lib/python3.11/site-packages/aider/report.py", line 71, in
report_github_issue
    confirmation = input(prompt).strip().lower()
                   ^^^^^^^^^^^^^
KeyboardInterrupt

Original exception was:
Traceback (most recent call last):
  File "/usr/local/bin/aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aider/main.py", line 1162, in
main
    coder.run()
  File "/usr/local/lib/python3.11/site-packages/aider/coders/base_coder.py",
line 887, in run
    self.run_one(user_message, preproc)
  File "/usr/local/lib/python3.11/site-packages/aider/coders/base_coder.py",
line 934, in run_one
    list(self.send_message(message))
  File "/usr/local/lib/python3.11/site-packages/aider/coders/base_coder.py",
line 1451, in send_message
    litellm_ex = LiteLLMExceptions()
                 ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/aider/exceptions.py", line 58,
in __init__
    self._load()
  File "/usr/local/lib/python3.11/site-packages/aider/exceptions.py", line 66,
in _load
    raise ValueError(f"{var} is in litellm but not in aider's exceptions list")
ValueError: ImageFetchError is in litellm but not in aider's exceptions list
```

-- 
You are receiving this mail because:
You are the assignee for the bug.