Skip to content

deepseek tool calls reasoning_content support #3629

@CFITCorporation

Description

@CFITCorporation

Description

https://api-docs.deepseek.com/guides/thinking_mode
"Since the tool invocation process in thinking mode requires users to pass back reasoning_content to the API, if your code does not correctly pass back reasoning_content, the API will return a 400 error. Please refer to the sample code below for the correct way."

Request for adding items reasoning_content to pydantic-ai(message_history mode)

References

No response

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