diff --git a/src/apps/chat/components/composer/llmattachments/LLMAttachmentButton.tsx b/src/apps/chat/components/composer/llmattachments/LLMAttachmentButton.tsx
index 92b88e40d..f6173135d 100644
--- a/src/apps/chat/components/composer/llmattachments/LLMAttachmentButton.tsx
+++ b/src/apps/chat/components/composer/llmattachments/LLMAttachmentButton.tsx
@@ -271,6 +271,17 @@ function LLMAttachmentButton(props: {
if (isInputLoading)
return ;
+ // tooltip for truncated filenames (only show when menu is closed)
+ const displayedLabel = attachmentLabelText(draft);
+ const showFilenameTooltip = !props.menuShown && !isOutputLoading && displayedLabel !== draft.label;
+
+ // label element (reused with/without tooltip)
+ const labelElement = (
+
+ {isOutputLoading ? 'Converting... ' : displayedLabel}
+
+ );
+
return (