diff --git a/frontend/src/components/MessageInput.tsx b/frontend/src/components/MessageInput.tsx index e8291519..532cc599 100644 --- a/frontend/src/components/MessageInput.tsx +++ b/frontend/src/components/MessageInput.tsx @@ -34,7 +34,8 @@ type MessageInputProps = { onChange: (e: React.ChangeEvent) => void; onSubmit: () => void; loading: boolean; - isShared?: boolean; + showSourceButton?: boolean; + showToolButton?: boolean; autoFocus?: boolean; }; @@ -43,7 +44,8 @@ export default function MessageInput({ onChange, onSubmit, loading, - isShared = false, + showSourceButton = true, + showToolButton = true, autoFocus = true, }: MessageInputProps) { const { t } = useTranslation(); @@ -343,8 +345,8 @@ export default function MessageInput({
- {!isShared && ( -
+
+ {showSourceButton && ( + )} + {showToolButton && ( - - - - {/* Additional badges can be added here in the future */} -
- )} + )} + + {/* Additional badges can be added here in the future */} +