Skip to content
Source
Sign inSign up
TanStack/schemas

DeepSeek: mandatory false from each model's own non-thinking bullet (#323 item 2) #420

Mergedtombeckenhammerged 2 commits intomain fromfix/323-deepseek-mandatorymerged by tombeckenham View on GitHub

tombeckenhamcommented

Part of #323 (item 2: reasoning.mandatory: null on effort rows).

What

DeepSeek's thinking guide (https://api-docs.deepseek.com/guides/thinking_mode/, already loaded for replay) has a top_p list that names each model and says what it does in non-thinking mode:

deepseek-flash: only takes effect in thinking mode … In non-thinking mode it is fixed at 1.0 … deepseek-v4-pro: in thinking mode your value is ignored …; in non-thinking mode it takes effect.

That is a per-model statement that thinking can be turned off, so mandatory: false for exactly the ids named there (parseDeepseekNonThinking). The shared toggle table (thinking.type: enabled/disabled) binds no model on its own, so a model missing from the bullets keeps mandatory: null. Efforts stay the listing's effort.supported_levels; factSources.reasoning now points at the guide.

Not published

Nothing new left null: both live DeepSeek models are named.

Tests

deepseek.test.ts: a named model gets mandatory: false, an unnamed sibling keeps null.

    1. cloudflare-workers-and-pages[bot](GitHub profile, opens in a new tab)commented

      Deploying with  Cloudflare Workers  Cloudflare Workers

      The latest updates on your project. Learn more about integrating Git with Workers.

      StatusNameLatest CommitPreview URLUpdated (UTC)
      ✅ Deployment successful!
      View logs
      modelschemasb5bb0035Commit Preview URL

      Branch Preview URL
      Oct 22 2026, 11:19 AM
    2. tombeckenham merged this3bc1481

    3. tombeckenham closed this

Sign in to join this conversation.