From 36a16809528430b4596b1266c02b076c76c388d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=BE=84=E6=BD=AD?= Date: Sun, 22 Mar 2026 16:16:49 +0800 Subject: [PATCH] Update model configurations for new GPT-5.4 versions --- .../scripts/plugin/index.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.claude/skills/higress-openclaw-integration/scripts/plugin/index.ts b/.claude/skills/higress-openclaw-integration/scripts/plugin/index.ts index cf556ba59..bdb889825 100644 --- a/.claude/skills/higress-openclaw-integration/scripts/plugin/index.ts +++ b/.claude/skills/higress-openclaw-integration/scripts/plugin/index.ts @@ -5,9 +5,9 @@ const DEFAULT_CONSOLE_URL = "http://localhost:8001"; // Model-specific context window and max tokens configurations const MODEL_CONFIG: Record = { - "gpt-5.3-codex": { contextWindow: 400_000, maxTokens: 128_000 }, - "gpt-5-mini": { contextWindow: 400_000, maxTokens: 128_000 }, - "gpt-5-nano": { contextWindow: 400_000, maxTokens: 128_000 }, + "gpt-5.4": { contextWindow: 1_000_000, maxTokens: 128_000 }, + "gpt-5.4-mini": { contextWindow: 400_000, maxTokens: 128_000 }, + "gpt-5.4-nano": { contextWindow: 400_000, maxTokens: 128_000 }, "claude-opus-4-6": { contextWindow: 1_000_000, maxTokens: 128_000 }, "claude-sonnet-4-6": { contextWindow: 1_000_000, maxTokens: 64_000 }, "claude-haiku-4-5": { contextWindow: 200_000, maxTokens: 64_000 }, @@ -37,9 +37,9 @@ const DEFAULT_MODEL_IDS = [ "claude-sonnet-4-6", "claude-haiku-4-5", // OpenAI models - "gpt-5.3-codex", - "gpt-5-mini", - "gpt-5-nano", + "gpt-5.4", + "gpt-5.4-mini", + "gpt-5.4-nano", // DeepSeek models "deepseek-chat", "deepseek-reasoner",