From b73a329b2cdcf5b575b1465e0eecdf603b98d659 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Fri, 18 Sep 2026 11:35:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=99=84=E4=BB=B6=E5=9C=BA?= =?UTF-8?q?=E6=99=AF=E4=B8=8B=E5=8E=86=E5=8F=B2=E5=91=BD=E4=BB=A4=E8=AF=86?= =?UTF-8?q?=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 使用不含附件的文本输入判断 /history 命令。 避免待发送附件把 canonical prompt 拼成长文本后绕过历史记录加载。 --- apps/ai-game-creator-shell/src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ai-game-creator-shell/src/App.tsx b/apps/ai-game-creator-shell/src/App.tsx index 1d5dc6195..9ca76cfcc 100644 --- a/apps/ai-game-creator-shell/src/App.tsx +++ b/apps/ai-game-creator-shell/src/App.tsx @@ -12303,7 +12303,7 @@ export function App({ } return; } - if (directCodexProductRuntime && canonicalPrompt === '/history') { + if (directCodexProductRuntime && prompt === '/history') { const nextProjectPath = requireChatProjectForUserAction(); if (!nextProjectPath) { return;