Replies: 1 comment
-
Hi @motin that's the purpose behind the move to https://github.com/BerriAI/litellm/tree/main/litellm/litellm_core_utils Are there specific functions you would recommend refactoring out? Moving this to a discussion, as i think that's a better place for this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The Feature
Instead of litellm/utils.py, split out key function clusters into separate files, e.g. litellm/utils/print_verbose.py, litellm/utils/client.py etc
Similarly where there are very large files.
Motivation, pitch
Background: I attempted to use Cline to resolve a bug I reported recently, and while Cline+sonnet can work with the codebase, the process is super slow and expensive when editing e.g. litellm/utils.py. Sometimes it even fails due to Cline wanting to send a request larger than sonent's 200k context window.
By having smaller files in the codebase, it facilitates debugging by AI agents both in terms of speed and costs.
Are you a ML Ops Team?
No
Twitter / LinkedIn details
@positivelyfred
Beta Was this translation helpful? Give feedback.
All reactions