Allow multiple tools in anthropic response
Currently in litellm's anthropic response only the first tool is extracted and the rest is ignored. This PR allows to also parse the rest of the tools.
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 | Mar 30, 2024 6:00pm |
Hey @Xirider could you share a test for this either here or in the test script for ci/cd - https://github.com/BerriAI/litellm/blob/ff9de34a5d4c48e7cd829f1e80988b80204ecbae/litellm/tests/test_completion.py#L133
bump on this? @Xirider
I would be great to have this as parallel function calling is quite efficient.
I'm currently quite busy. So feel free to take it over!
Nevermind, I think this is not longer necessary since anthropic enables their built in function calling