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

[Bug]: "together_ai does not support parameters response_format={"type": "json_object"," but it does #8278

Open
adamcohenhillel opened this issue Feb 5, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@adamcohenhillel
Copy link

What happened?

Hey, I am getting this error trying to use togetherai models:

litellm.UnsupportedParamsError: together_ai does not support parameters: {'response_format': {'type': 'json_object'}}, for model=deepseek-ai/DeepSeek-V3. To drop these, set `litellm.drop_params

But from Together AI docs, they do support json mode, with those exact params: https://docs.together.ai/docs/json-mode

Relevant log output

Are you a ML Ops Team?

No

What LiteLLM version are you on ?

v1.53.7

Twitter / LinkedIn details

No response

@adamcohenhillel adamcohenhillel added the bug Something isn't working label Feb 5, 2025
@krrishdholakia
Copy link
Contributor

Image

hey @adamcohenhillel their docs seem to indicate this is not the case. Am i missing something?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants