Skip to content

Commit 9d7cac5

Browse files
committed
fix(auto-model): repoint Codebase Auto to d4f (DeepSeek V4 Flash)
Backend renamed the slot from MiniMax-M2.7 to d4f when the SGLang server was repointed; CLI was still sending the old id and getting 404s on the proxied auto model.
1 parent 2ebff48 commit 9d7cac5

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "codebase-cli",
3-
"version": "2.0.0-pre.62",
3+
"version": "2.0.0-pre.63",
44
"description": "Codebase CLI — a TypeScript coding agent on the pi-mono runtime. OAuth-aware, any LLM provider, single install.",
55
"keywords": [
66
"ai",

src/agent/config.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,11 @@ function buildProxiedConfig(
193193
const isDefault = !explicitModel;
194194
const model: Model<string> = {
195195
...template,
196-
id: explicitModel ?? "MiniMax-M2.7",
196+
// "Codebase Auto" — backend renamed this slot from MiniMax-M2.7
197+
// to d4f (DeepSeek V4 Flash) when the underlying SGLang server
198+
// was repointed. Keep this in sync with web/backend/providers/
199+
// registry.js DEFAULT_MODEL.
200+
id: explicitModel ?? "d4f",
197201
name: isDefault ? "Codebase Auto" : (explicitModel ?? "Codebase Auto"),
198202
baseUrl: proxyBase,
199203
// Override provider so the status bar and /model don't lie about

0 commit comments

Comments
 (0)