修复附件场景下历史命令识别
使用不含附件的文本输入判断 /history 命令。 避免待发送附件把 canonical prompt 拼成长文本后绕过历史记录加载。
This commit is contained in:
@@ -12303,7 +12303,7 @@ export function App({
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (directCodexProductRuntime && canonicalPrompt === '/history') {
|
||||
if (directCodexProductRuntime && prompt === '/history') {
|
||||
const nextProjectPath = requireChatProjectForUserAction();
|
||||
if (!nextProjectPath) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user