| ... | @@ -4182,7 +4182,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps) | ... | @@ -4182,7 +4182,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps) |
| 4182 | if (pendingUserInputs.length > 0) { | 4182 | if (pendingUserInputs.length > 0) { |
| 4183 | toastManager.add({ | 4183 | toastManager.add({ |
| 4184 | type: "error", | 4184 | type: "error", |
| 4185 | title: "Attach files after answering plan questions.", | 4185 | title: "Attach files after answering pending questions.", |
| 4186 | }); | 4186 | }); |
| 4187 | return; | 4187 | return; |
| 4188 | } | 4188 | } |
| ... | @@ -4337,7 +4337,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps) | ... | @@ -4337,7 +4337,7 @@ export const ChatComposer = memo(function ChatComposer(props: ChatComposerProps) |
| 4337 | // ------------------------------------------------------------------ | 4337 | // ------------------------------------------------------------------ |
| 4338 | const onComposerPaste = (event: React.ClipboardEvent<HTMLElement>) => { | 4338 | const onComposerPaste = (event: React.ClipboardEvent<HTMLElement>) => { |
| 4339 | const files = Array.from(event.clipboardData.files); | 4339 | const files = Array.from(event.clipboardData.files); |
| 4340 | // Claimable pastes go through even when plan questions are pending or the | 4340 | // Claimable pastes go through even when agent questions are pending or the |
| 4341 | // composer is at its attachment limit: `addComposerAttachments` surfaces | 4341 | // composer is at its attachment limit: `addComposerAttachments` surfaces |
| 4342 | // those as a toast and a thread error. An early return here would swallow | 4342 | // those as a toast and a thread error. An early return here would swallow |
| 4343 | // the paste with no feedback. | 4343 | // the paste with no feedback. |