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

Fix data being overwritten #679

Merged
merged 3 commits into from
Oct 24, 2023
Merged

Conversation

mc-marcocheng
Copy link
Contributor

Related to #675

Currently, if we call any completion (e.g. typical chat completion) after a function calling completion call, it will treat everything as function calls, as data in deployment["litellm_params"] gets overwritten in 0.12.3.

@vercel
Copy link

vercel bot commented Oct 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
litellm ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 24, 2023 2:06pm

@krrishdholakia
Copy link
Contributor

Hey @mc-marcocheng do you have some test scripts we can add to our CI pipeline to prevent future regressions?

@mc-marcocheng
Copy link
Contributor Author

@krrishdholakia Added a test case

@krrishdholakia
Copy link
Contributor

lgtm!

@krrishdholakia krrishdholakia merged commit d244978 into BerriAI:main Oct 24, 2023
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

Successfully merging this pull request may close these issues.

2 participants