mirror of
https://github.com/earendil-works/pi.git
synced 2026-06-18 15:54:04 +08:00
Merge pull request #503 from tmustier/fix/steering-input-preserve
fix(coding-agent): keep draft editor text when previously queued messages send
This commit is contained in:
@@ -1167,7 +1167,6 @@ export class InteractiveMode {
|
||||
this.ui.requestRender();
|
||||
} else if (event.message.role === "user") {
|
||||
this.addMessageToChat(event.message);
|
||||
this.editor.setText("");
|
||||
this.updatePendingMessagesDisplay();
|
||||
this.ui.requestRender();
|
||||
} else if (event.message.role === "assistant") {
|
||||
|
||||
Reference in New Issue
Block a user