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

feat(vertex_httpx.py): support 'functions' param for gemini google ai studio + vertex ai #5368

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

krrishdholakia
Copy link
Contributor

@krrishdholakia krrishdholakia commented Aug 26, 2024

Title

support 'functions' param for gemini google ai studio + vertex ai

Relevant issues

Closes #5344

Type

🆕 New Feature

Changes

  • adds logic for checking if param is 'functions' or 'tools' in optional param mapping
  • processes response correctly if functions is given vs. tools
  • handle streaming response chunks correctly

[REQUIRED] Testing - Attach a screenshot of any new tests passing locall

If UI changes, send a screenshot/GIF of working UI fixes

  • new mock test added to test_completions.py

Sorry, something went wrong.

…tudio + vertex ai

Closes #5344
Copy link

vercel bot commented Aug 26, 2024

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 Aug 26, 2024 8:10pm

@krrishdholakia krrishdholakia merged commit c503ff4 into main Aug 27, 2024
9 of 10 checks passed
@krrishdholakia krrishdholakia deleted the litellm_vertex_function_support branch August 27, 2024 05:11
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.

[Feature]: Support gemini 'function' param
1 participant