fix(ai): update OpenAI Codex model list

This commit is contained in:
Mattia Cerutti
2026-05-17 03:12:19 +02:00
parent 734e08edf8
commit 1af823be9d
16 changed files with 148 additions and 179 deletions

View File

@@ -746,28 +746,28 @@ describe("AI Providers Unicode Surrogate Pair Tests", () => {
describe("OpenAI Codex Provider Unicode Handling", () => {
it.skipIf(!openaiCodexToken)(
"gpt-5.2-codex - should handle emoji in tool results",
"gpt-5.5 - should handle emoji in tool results",
{ retry: 3, timeout: 30000 },
async () => {
const llm = getModel("openai-codex", "gpt-5.2-codex");
const llm = getModel("openai-codex", "gpt-5.5");
await testEmojiInToolResults(llm, { apiKey: openaiCodexToken });
},
);
it.skipIf(!openaiCodexToken)(
"gpt-5.2-codex - should handle real-world LinkedIn comment data with emoji",
"gpt-5.5 - should handle real-world LinkedIn comment data with emoji",
{ retry: 3, timeout: 30000 },
async () => {
const llm = getModel("openai-codex", "gpt-5.2-codex");
const llm = getModel("openai-codex", "gpt-5.5");
await testRealWorldLinkedInData(llm, { apiKey: openaiCodexToken });
},
);
it.skipIf(!openaiCodexToken)(
"gpt-5.2-codex - should handle unpaired high surrogate (0xD83D) in tool results",
"gpt-5.5 - should handle unpaired high surrogate (0xD83D) in tool results",
{ retry: 3, timeout: 30000 },
async () => {
const llm = getModel("openai-codex", "gpt-5.2-codex");
const llm = getModel("openai-codex", "gpt-5.5");
await testUnpairedHighSurrogate(llm, { apiKey: openaiCodexToken });
},
);