Skip to content

When using DeepSeek, an error is encountered stating that structured output is not supported. #901

@Jun-215

Description

@Jun-215

Hi,When using DeepSeek, an error is encountered stating that structured output is not supported. Could support be added for Qwen to handle structured outputs?

The query relates to an issue where the current implementation of DeepSeek does not support structured outputs, and there's an interest in incorporating support for

Please note that based on the available information, while DeepSeek R1 currently does not directly support structured outputs like JSON or function calls, methods 。

2025-07-21 20:01:07 ERROR llm - Error calling litellm.completion: litellm.BadRequestError: DeepseekException - {"error":{"message":"This response_format type is unavailable now","type":"invalid_request_error","param":null,"code":"invalid_request_error"}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions