Skip to content

fix(provider): scope DeepSeek V4 Flash sampling defaults - #41620

Merged
rekram1-node merged 1 commit into
devfrom
deepseek-sampling-defaults
Aug 11, 2026
Merged

fix(provider): scope DeepSeek V4 Flash sampling defaults#41620
rekram1-node merged 1 commit into
devfrom
deepseek-sampling-defaults

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • default top_p to 0.95 for explicitly versioned DeepSeek V4 Flash 0731 model IDs
  • apply the same default to the rolling DeepSeek, OpenCode Zen, and OpenCode Go aliases
  • preserve provider defaults for unversioned third-party and self-hosted legacy V4 Flash models

Related

Validation

  • bun test test/provider/transform.test.ts (407 passed)
  • bun x prettier --check src/provider/transform.ts test/provider/transform.test.ts

Live requests from this branch:

  • DeepSeek rolling alias: passed
  • OpenCode Zen rolling alias: passed
  • OpenRouter 0731 and legacy IDs: passed
  • Vercel AI Gateway 0731 and legacy IDs: passed
  • OpenCode Go: request reached the API but the test account requires China-hosting opt-in for this model

Requested by: @rekram1-node (Aiden Cline via Slack)

Co-authored-by: 侯秀凯 <9627034+hoooou@users.noreply.github.com>
@rekram1-node
rekram1-node merged commit 5d95348 into dev Aug 11, 2026
15 checks passed
@rekram1-node
rekram1-node deleted the deepseek-sampling-defaults branch August 11, 2026 04:01
balcsida pushed a commit to balcsida/opencode that referenced this pull request Aug 11, 2026
…1620)

Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: 侯秀凯 <9627034+hoooou@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

deepseek-v4-flash missing recommended top_p=0.95 sampling default

1 participant