diff --git a/src/agentkit/server/frontend/src/components/chat/StickyModeHeader.vue b/src/agentkit/server/frontend/src/components/chat/StickyModeHeader.vue index 9d3983c..a0a4182 100644 --- a/src/agentkit/server/frontend/src/components/chat/StickyModeHeader.vue +++ b/src/agentkit/server/frontend/src/components/chat/StickyModeHeader.vue @@ -159,7 +159,7 @@ const allExperts = computed(() => { // 中保存的 YAML color。 const liveColorByName = new Map() const liveAvatarByName = new Map() - const conv = chatStore.conversations.find( + const conv = chatStore.conversations?.find( (c: { id: string; messages?: unknown[] }) => c.id === chatStore.currentConversationId, ) if (conv?.messages) {