diff --git a/app/components/agent/AgentChatArea.vue b/app/components/agent/AgentChatArea.vue index 6783ec2..bb713d1 100644 --- a/app/components/agent/AgentChatArea.vue +++ b/app/components/agent/AgentChatArea.vue @@ -33,6 +33,8 @@ const props = defineProps<{ systemPrompt?: string; sessionId?: string | null; agentTools?: ToolInfo[]; + agentName?: string; + agentDescription?: string; }>(); const emit = defineEmits<{ @@ -112,6 +114,8 @@ watch( diff --git a/app/components/agent/AgentSidebar.vue b/app/components/agent/AgentSidebar.vue index 7d3ee9e..d66c249 100644 --- a/app/components/agent/AgentSidebar.vue +++ b/app/components/agent/AgentSidebar.vue @@ -8,6 +8,7 @@ const props = defineProps<{ user: { name?: string | null; email?: string | null; role?: string | null } | null; collapsed: boolean; mobile?: boolean; + currentAgentSlug?: string; }>(); const emit = defineEmits<{ @@ -20,6 +21,7 @@ const emit = defineEmits<{ toggle: []; close: []; showDocuments: []; + switchAgent: [slug: string]; }>(); const isAdmin = computed(() => props.user?.role === "admin"); @@ -29,13 +31,20 @@ const isAdmin = computed(() => props.user?.role === "admin");