-
Notifications
You must be signed in to change notification settings - Fork 116
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
Added cache for openai models. #435
base: main
Are you sure you want to change the base?
Conversation
I can't test this one so it will wait for Nathan to come back - however, you'll also need to add diskcache to our requirements, and I'm not sure we want to expand them so much |
In case you don't want to add diskcache to your requirements, what alternative do you see? Or does that mean that we don't do any caching? |
Thanks for the solutions ! I will be reviewing this tomorrow :) |
Not sure this is needed anymore as we have litellm to cache model's responses |
Yes, if we can use litellm for everything, then we don't need it anymore. |
Fixes Issue 414 by adding a diskcache to the openai backend.