Skip to content

response_format does not work with Deepseek #1204

@AgileEduLabs

Description

@AgileEduLabs

What Happened?

With deepseek-chat, setting response_format to { "type": "json_object" } does not work. I have confirmed that response_format works with Groq and Cerebras, but it is not working with Deepseek.

What Should Have Happened?

Response from Deepseek should have been in JSON

Relevant Code Snippet

No response

Your Twitter/LinkedIn

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions