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: c372ba691b9964dc986c3a4880a7413ab8fb23f7 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:
parent
d40a4e343c
commit
5b06619c67
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)",
|
"Auth profile: openai-codex:user@example.com (openai-codex/oauth)",
|
||||||
);
|
);
|
||||||
expect(runtime.log).toHaveBeenCalledWith(
|
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);
|
await modelsAuthLoginCommand({ provider: "openai-codex", setDefault: true }, runtime);
|
||||||
|
|
||||||
expect(lastUpdatedConfig?.agents?.defaults?.model).toEqual({
|
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 () => {
|
it("keeps existing plugin error behavior for non built-in providers", async () => {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user