Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions server/agentModels.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const ok = (c, m) => {
// ── optionsForBackend: raw lists incl. the "" CLI-default row ──
ok(optionsForBackend("codex").some((o) => o.value === ""), "optionsForBackend(codex) includes the (CLI default) row");
ok(optionsForBackend("codex").some((o) => o.value === "gpt-5.4"), "optionsForBackend(codex) lists codex models");
ok(["gpt-5.6-sol", "gpt-5.6-terra", "gpt-5.6-luna"].every((s) => optionsForBackend("codex").some((o) => o.value === s)), "#999: optionsForBackend(codex) includes the GPT-5.6 Sol/Terra/Luna slugs");
ok(optionsForBackend("nope").length === 1 && optionsForBackend("nope")[0].value === "", "optionsForBackend(unknown) → single CLI-default row");

// ── modelsForBackend: concrete (non-"") options, claude fallback ──
Expand Down
6 changes: 6 additions & 0 deletions src/lib/agentModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ export const MODEL_OPTIONS: Record<string, { value: string; label: string }[]> =
{ value: "gpt-5.4", label: "gpt-5.4" },
{ value: "gpt-5", label: "gpt-5" },
{ value: "gpt-4o", label: "gpt-4o" },
// #999: GPT-5.6 Sol/Terra/Luna — new concrete slugs. Appended AFTER the
// existing rows so modelsForBackend("codex")[0] stays "gpt-5.4" (the #931
// default/heal target). Same append pattern as the #958 Fable-5 row.
{ value: "gpt-5.6-sol", label: "gpt-5.6-sol" },
{ value: "gpt-5.6-terra", label: "gpt-5.6-terra" },
{ value: "gpt-5.6-luna", label: "gpt-5.6-luna" },
],
claude: [
{ value: "", label: "(CLI default)" },
Expand Down
Loading