Skip to content

fix(web): run the website agents on deepseek-flash (V4.1 Flash) - #6773

Merged
Hmbown merged 1 commit into
mainfrom
fix/web-community-agent-deepseek-flash
Sep 29, 2026
Merged

Hmbown merged 1 commit into
mainfrom
fix/web-community-agent-deepseek-flash

Conversation

@Hmbown

@Hmbown Hmbown commented Sep 29, 2026

Copy link
Copy Markdown
Owner

Refs #6748

What

The website's DeepSeek callers now default to deepseek-flash, which is DeepSeek-V4.1-Flash. They used deepseek-v4-flash before. The callers are the community agent (triage, PR review, stale, dupes, digest and content-watch drafts) and the curated "Today's Dispatch" cron.

  • web/wrangler.jsonc: vars.DEEPSEEK_MODEL is now deepseek-flash.
  • web/lib/community-agent.ts and web/lib/deepseek.ts: FALLBACK_MODEL is now deepseek-flash. FALLBACK_BASE is unchanged.
  • web/README.md, web/AGENT.md, web/.env.example and the web/lib/content-watch.ts comment now name the new ID.
  • Left alone: the FAQ's Fin and OpenRouter slug mentions and facts.generated.ts. They describe the Codewhale product, not the website agent. No Rust was touched.

Why

DeepSeek's pricing page (https://api-docs.deepseek.com/quick_start/pricing, read 2026-09-29) lists deepseek-flash as DeepSeek-V4.1-Flash, available on Chat Completions (the route the website uses). It also says the legacy deepseek-v4-flash name "is still accepted, but the corresponding models have been retired", and those requests are served by V4.1 Flash. Codewhale's own default, DEFAULT_DEEPSEEK_MODEL in crates/config/src/provider_defaults.rs, is already deepseek-flash. This change makes the website match it.

Evidence

  • vitest on community-agent*, content-watch, deepseek, deploy-preflight and public-api-security: 5 files, 42 passed.
  • tsc --noEmit exit 0. eslint on the touched TS exit 0. node scripts/check-docs.mjs PASS. wrangler.jsonc still parses as JSON (deploy-preflight reads it that way).
  • No CHANGELOG receipt: check-feature-release-notes.sh applies only to feat: subjects, and this is fix:.
  • Not verified: I made no live DeepSeek call, since that would spend money. The new ID takes effect on the next website deploy, through the wrangler var. The first cron run after that deploy is the real check.

🤖 Generated with Claude Code

The community agent and the curated-dispatch cron called deepseek-v4-flash.
DeepSeek's pricing page (api-docs.deepseek.com/quick_start/pricing, read
2026-09-29) lists deepseek-flash as DeepSeek-V4.1-Flash, available on Chat
Completions, and says the legacy deepseek-v4-flash name is still accepted
but its model is retired and served by V4.1 Flash. Codewhale's own default
(crates/config/src/provider_defaults.rs DEFAULT_DEEPSEEK_MODEL) is already
deepseek-flash.

Changes the wrangler DEEPSEEK_MODEL var, FALLBACK_MODEL in
web/lib/community-agent.ts and web/lib/deepseek.ts, and the web README,
AGENT.md, .env.example and content-watch comment. FALLBACK_BASE unchanged.
The FAQ's Fin/OpenRouter mentions and generated facts describe the product,
not the website agent, and are left alone.

vitest community-agent*/content-watch/deepseek/deploy-preflight/
public-api-security: 5 files, 42 passed. tsc --noEmit exit 0. eslint on
touched TS exit 0. check-docs PASS. No live DeepSeek call was made.

Refs #6748

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014ZwqatxgVFxHvovngywnks
Copilot AI balanced review requested due to automatic review settings September 29, 2026 19:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Hmbown
Hmbown merged commit d8cc071 into main Sep 29, 2026
34 checks passed
@Hmbown
Hmbown deleted the fix/web-community-agent-deepseek-flash branch September 29, 2026 22:10
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.

2 participants