Browse Source

wip: tui api

Dax Raad 7 months ago
parent
commit
7998c3b5ce
1 changed files with 1 additions and 2 deletions
  1. 1 2
      packages/tui/internal/tui/tui.go

+ 1 - 2
packages/tui/internal/tui/tui.go

@@ -511,8 +511,7 @@ func (a Model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
 			a.modal = helpDialog
 		case "/tui/append-prompt":
 			var body struct {
-				Text  string          `json:"text"`
-				Parts []opencode.Part `json:"parts"`
+				Text string `json:"text"`
 			}
 			json.Unmarshal((msg.Body), &body)
 			existing := a.editor.Value()