Skip to content

fix: restore WorkBuddy Deepseek V4.1 Flash thinking - #146

Merged
caigee-cmd merged 1 commit into
mainfrom
fix/workbuddy-deepseek-reasoning-fields
Sep 11, 2026
Merged

fix: restore WorkBuddy Deepseek V4.1 Flash thinking#146
caigee-cmd merged 1 commit into
mainfrom
fix/workbuddy-deepseek-reasoning-fields

Conversation

@caigee-cmd

Copy link
Copy Markdown
Owner

Summary

  • WorkBuddy deepseek-v4.1-flash chat now sends official CLI 2.132.0 thinking fields (reasoning_effort, reasoning_summary=auto, verbosity=high) instead of the nested reasoning object that returned no thinking tokens.
  • GLM / Hy4 / Kimi still use reasoning: {effort, summary:"auto"}.
  • Model list reads WorkBuddy contextWindow so Deepseek shows the catalog default 300k and optional 1M. This is display-only; chat requests do not send a window switch.

Test plan

  • go test ./internal/providers/workbuddy/ ./internal/api/
  • cd frontend && npm run lint && npm run sync
  • After merge, console model list shows Deepseek V4.1 Flash as 300k → 1M and locked reasoning High
  • Production/US1 Deepseek V4.1 Flash stream returns reasoning_content / thinking tokens
  • GLM-5.3-flash / hy4-preview thinking path unchanged

Send official top-level reasoning fields for deepseek-v4.1-flash only, and surface catalog 300k/1M context budgets on the model list without changing chat payloads for other models.
@caigee-cmd
caigee-cmd merged commit 6ac6f83 into main Sep 11, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant