Skip to content

Fix stale DeepSeek desktop model fallback / 修复桌面端 DeepSeek 旧模型兜底#4278

Merged
esengine merged 1 commit into
main-v2from
fix/deepseek-model-migration-fallback
Jun 15, 2026
Merged

Fix stale DeepSeek desktop model fallback / 修复桌面端 DeepSeek 旧模型兜底#4278
esengine merged 1 commit into
main-v2from
fix/deepseek-model-migration-fallback

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • Backfill official DeepSeek model IDs for the official api.deepseek.com provider during config load.
  • Normalize stale desktop tab model refs before effort/token-mode controller rebuilds.
  • Add regression coverage for stale DeepSeek tab refs and official-provider model repair.

Root cause

Desktop tabs could retain legacy refs such as deepseek-flash/deepseek-v4-flash while the settings flow had migrated official access to the canonical deepseek provider. Some rebuild paths still passed the stale tab ref directly to boot, so model validation failed before any provider request.

Validation

  • go test ./internal/config
  • go test . from the desktop module
  • go test ./...

@github-actions github-actions Bot added v2 Go rewrite (1.x) — main-v2 branch, active development desktop Wails desktop app (desktop/**) config Configuration & setup (internal/config) labels Jun 13, 2026
@SivanCola SivanCola marked this pull request as ready for review June 14, 2026 15:23
@SivanCola SivanCola requested a review from esengine as a code owner June 14, 2026 15:23
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@SivanCola SivanCola enabled auto-merge June 14, 2026 15:23
@esengine esengine merged commit fb839d7 into main-v2 Jun 15, 2026
14 checks passed
@esengine esengine deleted the fix/deepseek-model-migration-fallback branch June 15, 2026 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration & setup (internal/config) desktop Wails desktop app (desktop/**) v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants