diff --git a/components/canvas/CanvasChatPanel.tsx b/components/canvas/CanvasChatPanel.tsx
index 99dbadb6b..218d1f446 100644
--- a/components/canvas/CanvasChatPanel.tsx
+++ b/components/canvas/CanvasChatPanel.tsx
@@ -2582,7 +2582,7 @@ export function CanvasChatPanel({ chatId, initialMessages = [], onClose, onOpenF
type="button"
variant="ghost"
className={cn(
- "h-8 cursor-pointer rounded-full px-3 text-sm font-medium",
+ "relative h-8 cursor-pointer rounded-full px-3 text-sm font-medium overflow-visible",
activeComposerMode === "video"
? "border border-blue-500 bg-blue-50 text-blue-600 hover:bg-blue-100"
: activeComposerMode === "image"
@@ -2590,14 +2590,22 @@ export function CanvasChatPanel({ chatId, initialMessages = [], onClose, onOpenF
: "border border-zinc-300 bg-zinc-50 text-zinc-700 hover:bg-zinc-100"
)}
>
- {activeComposerMode === "video" ? (
-
- ) : activeComposerMode === "image" ? (
-
- ) : (
-
- )}
- {activeModeLabel}
+ {activeComposerMode === "agent" ? (
+ <>
+
+
+ >
+ ) : null}
+
+ {activeComposerMode === "video" ? (
+
+ ) : activeComposerMode === "image" ? (
+
+ ) : (
+
+ )}
+ {activeModeLabel}
+