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