-
Couldn't load subscription status.
- Fork 2.8k
Closed
Labels
feature:lite-llmneeds-more-infoWaiting for a reply/more info from the authorWaiting for a reply/more info from the authorstale
Description
| assert isinstance(response.choices[0], litellm.types.utils.Choices) |
The above is the offending line. When Gemini via LiteLLM sometimes returns a response with no choices, it will throw an IndexError. I suspect that sometimes it'll just call a tool and call it a day. I'm not sure if we want to deal with this somehow. It is breaking my things :(
Metadata
Metadata
Assignees
Labels
feature:lite-llmneeds-more-infoWaiting for a reply/more info from the authorWaiting for a reply/more info from the authorstale