-
Notifications
You must be signed in to change notification settings - Fork 0
Issues when returning JSON with claude #15
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
Comments
See python/notebooks/debug-issue15.ipynb This is rather weird: the claude model does not seem to actually support the response_format parameter. Instead LiteLLM uses claude tooling, creating a request like this:
This then creates a raw response like this:
So what we really want is nested under input/json_input/ However, when just rerunning the same request, the data may be nested under input/content or input/data What we get is a json dict with json_input, content or data as the top key This is wrong and should be considered a bug |
No description provided.
The text was updated successfully, but these errors were encountered: