Skip to content

Local-first AI coding agent desktop: Electron + Rust host core + pi Agent Harness + user-installable plugins

fix(chat): restore the composer's history-exit submit path

Tioit-Wang9a3c51c4913c
diff --git a/apps/desktop/src/components/Composer.tsx b/apps/desktop/src/components/Composer.tsx
index 64708b09d..f02baa4b6 100644
--- a/apps/desktop/src/components/Composer.tsx
+++ b/apps/desktop/src/components/Composer.tsx
@@ -569,7 +569,7 @@ export function Composer({
composerAc={completions.ac}
onPaste={pasteClipboardFiles}
onAcceptCompletion={completions.acceptCompletion}
- onSubmit={(steering) => void submit(steering)}
+ onSubmit={(steering) => void submitFromComposer(steering)}
onInsertNewline={insertNewlineInEditor}
onInput={(source, caret) => {
inputHistory.exitBrowsing();