diff --git a/src/pages/chat/components/ChatInput.tsx b/src/pages/chat/components/ChatInput.tsx index f90bd26..debf44e 100644 --- a/src/pages/chat/components/ChatInput.tsx +++ b/src/pages/chat/components/ChatInput.tsx @@ -25,6 +25,7 @@ export default function ChatInput(props: { onNewSession: () => void; agentList: Agent[]; onInsertMention: (agentName: string) => void; + showActions?: boolean; }) { const { input, @@ -44,7 +45,8 @@ export default function ChatInput(props: { onOpenHistory, onNewSession, agentList, - onInsertMention + onInsertMention, + showActions = true } = props; const [showMentionPopover, setShowMentionPopover] = useState(false); @@ -194,7 +196,7 @@ export default function ChatInput(props: {