Closed krrishdholakia closed 12 hours ago
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 | Nov 21, 2024 8:24pm |
Title
Relevant issues
Fixes https://github.com/BerriAI/litellm/issues/6812 Groq doesn't support streaming when response_format is set Closes https://github.com/BerriAI/litellm/issues/6845 Closes https://github.com/BerriAI/litellm/issues/6801 Closes https://github.com/BerriAI/litellm/issues/6807 Fixes https://github.com/BerriAI/litellm/issues/6848 Fixes https://github.com/BerriAI/litellm/issues/6833
Type
๐ New Feature ๐ Bug Fix ๐งน Refactoring ๐ Documentation ๐ Infrastructure โ Test
Changes
[REQUIRED] Testing - Attach a screenshot of any new tests passing locall
If UI changes, send a screenshot/GIF of working UI fixes
Description by Korbit AI
What change is being made?
Refactor the
FunctionCall
structure by simplifying the creation and restructuring of arguments dictionaries acrosslitellm
and update associated tests to handle tool calls with no arguments.Why are these changes being made?
These changes are made to streamline code by eliminating unnecessary structures like
Field
andFunctionCallArgs
, simplifying how function calls are constructed. This refactor enhances the maintainability and readability of the function call code. Additionally, the updates to the test cases ensure that functionality, such as handling tool calls with no arguments (as per GitHub issue #6833), is covered by testing to prevent future regressions.