mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-29 21:33:54 +00:00
wip: tui api
This commit is contained in:
parent
13def91e9a
commit
7998c3b5ce
@ -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()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user