mirror of
https://github.com/harivansh-afk/clanker-agent.git
synced 2026-04-16 06:02:43 +00:00
model upgrade
This commit is contained in:
parent
92c3bcf9f9
commit
a1c66c805a
5 changed files with 12 additions and 9 deletions
|
|
@ -395,9 +395,12 @@ describe("resolveCliModel", () => {
|
|||
});
|
||||
|
||||
describe("default model selection", () => {
|
||||
test("openai defaults are gpt-5.4", () => {
|
||||
test("openai default stays on gpt-5.4", () => {
|
||||
expect(defaultModelPerProvider.openai).toBe("gpt-5.4");
|
||||
expect(defaultModelPerProvider["openai-codex"]).toBe("gpt-5.4");
|
||||
});
|
||||
|
||||
test("openai-codex default is gpt-5.3-codex", () => {
|
||||
expect(defaultModelPerProvider["openai-codex"]).toBe("gpt-5.3-codex");
|
||||
});
|
||||
|
||||
test("ai-gateway default is opus 4.6", () => {
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ describe("SettingsManager", () => {
|
|||
|
||||
// Simulate user editing settings.json externally to add enabledModels
|
||||
const currentSettings = JSON.parse(readFileSync(settingsPath, "utf-8"));
|
||||
currentSettings.enabledModels = ["claude-opus-4-5", "gpt-5.2-codex"];
|
||||
currentSettings.enabledModels = ["claude-opus-4-6", "gpt-5.3-codex"];
|
||||
writeFileSync(settingsPath, JSON.stringify(currentSettings, null, 2));
|
||||
|
||||
// User changes thinking level via Shift+Tab
|
||||
|
|
@ -50,8 +50,8 @@ describe("SettingsManager", () => {
|
|||
// Verify enabledModels is preserved
|
||||
const savedSettings = JSON.parse(readFileSync(settingsPath, "utf-8"));
|
||||
expect(savedSettings.enabledModels).toEqual([
|
||||
"claude-opus-4-5",
|
||||
"gpt-5.2-codex",
|
||||
"claude-opus-4-6",
|
||||
"gpt-5.3-codex",
|
||||
]);
|
||||
expect(savedSettings.defaultThinkingLevel).toBe("high");
|
||||
expect(savedSettings.theme).toBe("dark");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue