From 1b579acf474031382b10efe01a44c2477bbf816f Mon Sep 17 00:00:00 2001 From: Linghong Date: Thu, 17 Sep 2026 08:22:52 +0000 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E9=AB=98=E5=AE=A2=E6=88=B7=E7=AB=AFLL?= =?UTF-8?q?M=E9=BB=98=E8=AE=A4=E9=87=8D=E8=AF=95=E6=AC=A1=E6=95=B0?= =?UTF-8?q?=E5=88=B010=20=E5=86=85=E7=BD=AE=E9=BB=98=E8=AE=A4=E5=80=BC=20D?= =?UTF-8?q?EFAULT=5FGAME=5FCREATOR=5FLLM=5FMAX=5FRETRIES=20=E7=94=B1=202?= =?UTF-8?q?=20=E6=94=B9=E4=B8=BA=2010=20=E9=9A=8FApp=E5=88=86=E5=8F=91?= =?UTF-8?q?=E7=9A=84=E9=85=8D=E7=BD=AE=E6=A8=A1=E6=9D=BF=20game-creator.co?= =?UTF-8?q?nfig.json=20=E7=9A=84=20maxRetries=20=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E4=B8=BA=2010=20=E8=AE=BE=E7=BD=AE=E5=AF=B9=E8=AF=9D=E6=A1=86?= =?UTF-8?q?=E8=8D=89=E7=A8=BF=E5=85=9C=E5=BA=95=E5=80=BC=20maxRetries=20?= =?UTF-8?q?=E5=90=8C=E6=AD=A5=E4=B8=BA=2010?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ai-game-creator-shell/game-creator.config.json | 2 +- apps/ai-game-creator-shell/src-tauri/src/main.rs | 2 +- .../src/features/runtime-config/RuntimeConfigDialog.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/ai-game-creator-shell/game-creator.config.json b/apps/ai-game-creator-shell/game-creator.config.json index b6193445f..3c0005da3 100644 --- a/apps/ai-game-creator-shell/game-creator.config.json +++ b/apps/ai-game-creator-shell/game-creator.config.json @@ -15,7 +15,7 @@ "autoCompactTokenLimit": 64000, "toolOutputTokenLimit": 12000, "requestTimeoutMs": 180000, - "maxRetries": 2, + "maxRetries": 10, "retryBackoffMs": 500 }, "agentLlm": {} diff --git a/apps/ai-game-creator-shell/src-tauri/src/main.rs b/apps/ai-game-creator-shell/src-tauri/src/main.rs index fe77f4532..6a57de8e2 100644 --- a/apps/ai-game-creator-shell/src-tauri/src/main.rs +++ b/apps/ai-game-creator-shell/src-tauri/src/main.rs @@ -1561,7 +1561,7 @@ const DEFAULT_GAME_CREATOR_LLM_REASONING_EFFORT: &str = "high"; const DEFAULT_GAME_CREATOR_LLM_CONTEXT_WINDOW_TOKENS: u64 = 128_000; const DEFAULT_GAME_CREATOR_LLM_AUTO_COMPACT_TOKEN_LIMIT: u64 = 64_000; const DEFAULT_GAME_CREATOR_LLM_TOOL_OUTPUT_TOKEN_LIMIT: u64 = 12_000; -const DEFAULT_GAME_CREATOR_LLM_MAX_RETRIES: u32 = 2; +const DEFAULT_GAME_CREATOR_LLM_MAX_RETRIES: u32 = 10; fn default_game_creator_agent_mode() -> String { GAME_CREATOR_AGENT_MODE_CODEX_APP_SERVER.to_string() diff --git a/apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx b/apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx index a12f99ff8..16feb1f76 100644 --- a/apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx +++ b/apps/ai-game-creator-shell/src/features/runtime-config/RuntimeConfigDialog.tsx @@ -64,7 +64,7 @@ const defaultRuntimeConfigDraft: GameCreatorAppConfig = { autoCompactTokenLimit: 64000, toolOutputTokenLimit: 12000, requestTimeoutMs: 180000, - maxRetries: 2, + maxRetries: 10, retryBackoffMs: 500, }, agentLlm: {},