Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(bots): 话题回复改过文字后重新建发送尝试
Chris8a8ae1d68713
diff --git a/apps/desktop/src/renderer/features/bots/BotGroupComposer.tsx b/apps/desktop/src/renderer/features/bots/BotGroupComposer.tsxindex 36b94cab26..061776902e 100644--- a/apps/desktop/src/renderer/features/bots/BotGroupComposer.tsx+++ b/apps/desktop/src/renderer/features/bots/BotGroupComposer.tsx@@ -214,7 +214,11 @@ export function BotGroupComposer({// Same @ picker in the group and in a 话题; the 话题 also resolves the server's aliases.const mention = useBotGroupMentionPicker({text,- onTextChange: setText,+ onTextChange: (value) => {+ // A 话题 reply is a new attempt as soon as its text changes (even if typed back the same).+ if (thread && attemptRef.current && attemptRef.current.text !== value.trim()) attemptRef.current = null;+ setText(value);+ },members,textareaRef,allLabels: thread ? threadAllLabels : undefined,