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

Fails in termux proot arch linux after first prompt #3623

Closed
edshamis opened this issue Mar 24, 2025 · 0 comments
Closed

Fails in termux proot arch linux after first prompt #3623

edshamis opened this issue Mar 24, 2025 · 0 comments

Comments

@edshamis
Copy link

Aider version: 0.78.0
Python version: 3.12.9
Platform: Linux-6.2.1-PRoot-Distro-aarch64-with-glibc2.41
Python implementation: CPython
Virtual environment: Yes
OS: Linux 6.2.1-PRoot-Distro (64bit)
Git version: git version 2.49.0

An uncaught exception occurred:

Traceback (most recent call last):
  File "aider", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 1106, in main
    coder.run()
  File "base_coder.py", line 856, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 903, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1337, in send_message
    litellm_ex = LiteLLMExceptions()
                 ^^^^^^^^^^^^^^^^^^^
  File "exceptions.py", line 58, in __init__
    self._load()
  File "exceptions.py", line 61, in _load
    import litellm
  File "__init__.py", line 61, in <module>
    from litellm.proxy._types import (
  File "_types.py", line 20, in <module>
    from litellm.types.router import RouterErrors, UpdateRouterConfig
  File "router.py", line 12, in <module>
    from openai import AsyncAzureOpenAI, AsyncOpenAI, AzureOpenAI, OpenAI
  File "__init__.py", line 81, in <module>
    from .lib import azure as _azure, pydantic_function_tool as pydantic_function_tool
ImportError: cannot import name 'pydantic_function_tool' from 'openai.lib' (unknown location)

@edshamis edshamis closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2025
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