Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): Host chip 存在时 /plan 不再被误消费为 plan 模式切换

Shinkua8fb3067466e
diff --git a/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx b/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx
index 2bdfe3eec1..6838607689 100644
--- a/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx
+++ b/apps/desktop/src/renderer/components/new-chat/ChatInput.tsx
@@ -4617,6 +4617,7 @@ export function ChatInput({
? commentsBeforeOptimisticClear
: [...browserCommentsRef.current];
if (
+ !hostCapability &&
isPlanModeComposerCommandText(
editorText,
planModeEntry !== undefined,