Skip to content

Default new workspaces to DeepSeek V4.1 Flash - #74

Merged
szweibel merged 1 commit into
mainfrom
fix/default-deepseek-v4.1-flash
Sep 10, 2026
Merged

szweibel merged 1 commit into
mainfrom
fix/default-deepseek-v4.1-flash

Conversation

@szweibel

Copy link
Copy Markdown
Contributor

Summary

Moves Agent Studio's configured default model from deepseek-v4-flash-0731 to deepseek-v4.1-flash, matching the website's Featured list change (CUNY-AI-Lab-website#97). Workspaces with a saved model selection keep it; only workspaces without a selection use the default.

  • DEFAULT_CAIL_MODEL in cloudflare/src/lib/cail-model.ts
  • Production CAIL_MODEL var in cloudflare/wrangler.jsonc (staging keeps glm-5.2)
  • README default sentence
  • Two tests that asserted the old default literally now assert the new one.
  • workspace-agent-chat.test.mjs: the legacy-workspace replay test listed only DEFAULT_CAIL_MODEL in its fake catalog and passed because the default happened to equal the ID that @cf/deepseek-ai/deepseek-v4-flash-0731 migrates to. Its catalog now names deepseek-v4-flash-0731 directly, so the test no longer depends on the default.

Verification

  • Live catalog on 2026-09-10 lists deepseek-v4.1-flash with text-generation and function-calling, so it passes Agent Studio's catalog filter.
  • bun run check passes: lint, typecheck, 469 backend tests, 282 frontend tests, 22 tool tests, build, and the staging Wrangler dry run.
  • Not exercised: a real model turn against production with the new default. Production deploys through CI on main.

🤖 Generated with Claude Code

The Gateway catalog now serves deepseek-v4.1-flash, and the website's
Featured list points at it. Agent Studio's configured default moves from the
0731 checkpoint to the same model, in the source default, the production
wrangler var, and the README. Workspaces that already chose a model keep it.

The chat test that replays a legacy @cf workspace listed only the current
default in its fake catalog and passed because the default happened to be the
0731 model the legacy ID migrates to. Its catalog now names that migrated ID
directly.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@szweibel
szweibel merged commit ed76d23 into main Sep 10, 2026
2 checks passed
szweibel added a commit that referenced this pull request Sep 10, 2026
PR #74 moved the production CAIL_MODEL var to deepseek-v4.1-flash but left
the deploy readback asserting the 0731 value, so release run 34478915492
deployed the Worker and then failed its version readback before the
readiness and Doorway probes. Align the gate with the configured default.

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
@szweibel
szweibel deleted the fix/default-deepseek-v4.1-flash branch October 28, 2026 13:27
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