🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🐛 fix: slove when first call thread, not show ai chat message (#10878)
Shinji-Li5a79cb911605
diff --git a/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts b/src/store/chat/slices/aiChat/actions/conversationLifecycle.tsindex 695d0cfbc92..ef5f323385f 100644--- a/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts+++ b/src/store/chat/slices/aiChat/actions/conversationLifecycle.ts@@ -251,6 +251,13 @@ export const conversationLifecycle: StateCreator<// Record created threadId in operation metadataif (data.createdThreadId) {get().updateOperationMetadata(operationId, { createdThreadId: data.createdThreadId });++ // Update portalThreadId to switch from "new thread" mode to "existing thread" mode+ // This ensures the Portal Thread UI displays correctly with the real thread ID+ get().openThreadInPortal(data.createdThreadId, context.sourceMessageId);++ // Refresh threads list to update the sidebar+ get().refreshThreads();}// Create final context with updated topicId/threadId from server response