fix(chat): 修改智能体列表

This commit is contained in:
sophie committed 2026-06-29 15:26:11 +08:00
1 parent cafce5cfa9
commit 7e4a2037d8
8 files changed
+71 -17

No files matched your search

@@ -12,6 +12,7 @@ export interface ChatMobileHeaderAgent extends AgentWithCategory {}
defineProps<{
agentName: string;
activeAgentId: number;
hasAgentGuides: boolean;
userAgents: ChatMobileHeaderAgent[];
}>();
@@ -101,6 +102,7 @@ onBeforeUnmount(() => {
<AgentCategoryList
v-if="userAgents.length > 0"
:agents="userAgents"
:active-agent-id="activeAgentId"
@select="onSwitchAgent"
/>
<div v-else class="py-3 text-center text-xs text-muted">{{ $t('chat.noOtherAgents') }}</div>