fix(ai): update OpenAI Codex model list
This commit is contained in:
@@ -38,7 +38,7 @@ const echoTool: Tool<typeof echoToolSchema> = {
|
||||
*
|
||||
* 1. Use github-copilot gpt-5.2-codex to generate a tool call
|
||||
* 2. Switch to openrouter openai/gpt-5.2-codex and complete
|
||||
* 3. Switch to openai-codex gpt-5.2-codex and complete
|
||||
* 3. Switch to openai-codex gpt-5.5 and complete
|
||||
*
|
||||
* Both should succeed without "call_id too long" errors.
|
||||
*/
|
||||
@@ -117,7 +117,7 @@ describe("Tool Call ID Normalization - Live Handoff", () => {
|
||||
"github-copilot -> openai-codex should normalize pipe-separated IDs",
|
||||
async () => {
|
||||
const copilotModel = getModel("github-copilot", "gpt-5.2-codex");
|
||||
const codexModel = getModel("openai-codex", "gpt-5.2-codex");
|
||||
const codexModel = getModel("openai-codex", "gpt-5.5");
|
||||
|
||||
// Step 1: Generate tool call with github-copilot
|
||||
const userMessage: Message = {
|
||||
@@ -266,7 +266,7 @@ describe("Tool Call ID Normalization - Prefilled Context", () => {
|
||||
it.skipIf(!codexToken)(
|
||||
"openai-codex should handle prefilled context with long pipe-separated IDs",
|
||||
async () => {
|
||||
const model = getModel("openai-codex", "gpt-5.2-codex");
|
||||
const model = getModel("openai-codex", "gpt-5.5");
|
||||
const messages = buildPrefilledMessages();
|
||||
|
||||
const response = await completeSimple(
|
||||
|
||||
Reference in New Issue
Block a user