mirror of
https://github.com/clawdbot/clawdbot.git
synced 2026-03-17 17:33:45 +01:00
Updated default model from openai-codex/gpt-5.3-codex to openai-codex/gpt-5.4 in tests. (#44367)
Merged via squash.
Prepared head SHA: c372ba691b
Co-authored-by: jrrcdev <19454127+jrrcdev@users.noreply.github.com>
Co-authored-by: dvrshil <81693876+dvrshil@users.noreply.github.com>
Reviewed-by: @dvrshil
This commit is contained in:
1
changelog/fragments/openai-codex-auth-tests-gpt54.md
Normal file
1
changelog/fragments/openai-codex-auth-tests-gpt54.md
Normal file
@@ -0,0 +1 @@
|
||||
- tests: align OpenAI Codex auth login expectations with the `gpt-5.4` default model to prevent stale CI failures. (#44367) thanks @jrrcdev
|
||||
@@ -183,7 +183,7 @@ describe("modelsAuthLoginCommand", () => {
|
||||
"Auth profile: openai-codex:user@example.com (openai-codex/oauth)",
|
||||
);
|
||||
expect(runtime.log).toHaveBeenCalledWith(
|
||||
"Default model available: openai-codex/gpt-5.3-codex (use --set-default to apply)",
|
||||
"Default model available: openai-codex/gpt-5.4 (use --set-default to apply)",
|
||||
);
|
||||
});
|
||||
|
||||
@@ -193,9 +193,9 @@ describe("modelsAuthLoginCommand", () => {
|
||||
await modelsAuthLoginCommand({ provider: "openai-codex", setDefault: true }, runtime);
|
||||
|
||||
expect(lastUpdatedConfig?.agents?.defaults?.model).toEqual({
|
||||
primary: "openai-codex/gpt-5.3-codex",
|
||||
primary: "openai-codex/gpt-5.4",
|
||||
});
|
||||
expect(runtime.log).toHaveBeenCalledWith("Default model set to openai-codex/gpt-5.3-codex");
|
||||
expect(runtime.log).toHaveBeenCalledWith("Default model set to openai-codex/gpt-5.4");
|
||||
});
|
||||
|
||||
it("keeps existing plugin error behavior for non built-in providers", async () => {
|
||||
|
||||
Reference in New Issue
Block a user