Skip to main content

When using the DeepSeek API allow the "think" tags to be disabled or moved to a thought sub object from the response

This should be pretty easy to do and would simplify coding for the end user.

Status: Completed1 comment

Log in to comment and vote

Comments1

  • JP

    Team•

    May 14, 2025

    This was shipped today:

    Add support for strip_thinking_response for reasoning models. This will suppress the <think></think> blocks server side, preventing them from reaching the client. Works in tandem with /no_think on the Qwen3 models. API docs have been updated for the parameter, and the model feature suffix docs have also been updated. Satisfies this Featurebase. Postman example can be found here.