Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
fix(bots): 修正分页基线判断的参数类型
Chris96a384359112
diff --git a/apps/desktop/src/renderer/features/bots/BotGroupChatView.tsx b/apps/desktop/src/renderer/features/bots/BotGroupChatView.tsxindex 6a2f75150a..af84dd28e6 100644--- a/apps/desktop/src/renderer/features/bots/BotGroupChatView.tsx+++ b/apps/desktop/src/renderer/features/bots/BotGroupChatView.tsx@@ -633,7 +633,7 @@ function BotGroupChatContent({ groupId }: { groupId: string }) {}// The latest page started over meanwhile (more than a page arrived): this page was read// below a timeline that is gone and would sit under the new one with the gap still in it.- const stillLoaded = (timeline: typeof base) => !anchorId || (timeline.kind === 'ready'+ const stillLoaded = (timeline: GroupViewState) => !anchorId || (timeline.kind === 'ready'&& (timeline.group.messages.some(message => message.id === anchorId) || timeline.older.some(message => message.id === anchorId)));if (!stillLoaded(stateRef.current)) return null;const element = scrollRef.current;