paul-gauthier / aider

aider is AI pair programming in your terminal
https://aider.chat/
Apache License 2.0
12.56k stars 1.2k forks source link

Why do we importing litellm from `aider.litellm` #725

Closed ramsey-coding closed 16 hours ago

ramsey-coding commented 6 days ago

Issue

I see https://github.com/paul-gauthier/aider/blob/965c35870cb85c56898c341e6dd46c39e77dcfbe/aider/models.py

and the self.info = litellm.get_model_info(model)

Is it correct?

should not we use the import from litellm?

Version and model info

No response

paul-gauthier commented 5 days ago

The aider.litellm ensures that litellmm is loaded with the proper configuation.

paul-gauthier commented 16 hours ago

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.