{isImageAttachment(attachment) && attachment.previewUrl ? (
-
- {/* Editor */}
+ {/* Editor */}
+
0
? {
- label: t("composer.upload_to_shared_folder"),
- onClick: () => void props.onUploadInboxFiles?.(attachedFiles),
- }
+ label: t("composer.upload_to_shared_folder"),
+ onClick: () => void props.onUploadInboxFiles?.(attachedFiles),
+ }
: undefined,
});
// Intentionally no preventDefault — the notice is advisory,
@@ -1275,9 +1274,11 @@ export function ReactSessionComposer(props: ComposerProps) {
void addAttachments(files);
}}
/>
+
+
{/* Action row — attachments, quick actions, model controls, and send */}
-
+
{
@@ -1294,9 +1295,8 @@ export function ReactSessionComposer(props: ComposerProps) {
/>