Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(assistant-ui): remove unused import in thread component

Steven Enamakel685e09b61c74
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index ab51d140c4..81d8ec0121 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -1718,9 +1718,9 @@ const EditComposer: FC = () => {
value={value}
discardedReplies={discardedReplies}
editing
- onValueChange={text => aui.message.composer.setText(text)}
- onSave={() => aui.message.composer.send()}
- onCancel={() => aui.message.composer.cancel()}
+ onValueChange={text => aui.message.composer().setText(text)}
+ onSave={() => aui.message.composer().send()}
+ onCancel={() => aui.message.composer().cancel()}
cancelLabel={t('common.cancel')}
sendLabel={t('chat.elicitation.send')}
editAriaLabel={t('conversations.assistantUi.edit.ariaLabel')}