summaryrefslogtreecommitdiffhomepage
path: root/packages/tui
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-07-14 10:48:17 -0400
committerDax Raad <[email protected]>2025-07-14 10:48:17 -0400
commit31e0326f78976f4d45dea8f44ca6e1f6faeb078b (patch)
tree6e44561e36bc228123f6f8caa555b9f3543aa630 /packages/tui
parenta53d2ea356e8582582da1cb88fc8d56669358ce1 (diff)
downloadopencode-31e0326f78976f4d45dea8f44ca6e1f6faeb078b.tar.gz
opencode-31e0326f78976f4d45dea8f44ca6e1f6faeb078b.zip
fix init command and escape to cancel
Diffstat (limited to 'packages/tui')
-rw-r--r--packages/tui/internal/app/app.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/tui/internal/app/app.go b/packages/tui/internal/app/app.go
index fb8358d8c..5f95cc429 100644
--- a/packages/tui/internal/app/app.go
+++ b/packages/tui/internal/app/app.go
@@ -384,6 +384,7 @@ func (a *App) InitializeProject(ctx context.Context) tea.Cmd {
go func() {
_, err := a.Client.Session.Init(ctx, a.Session.ID, opencode.SessionInitParams{
+ MessageID: opencode.F(id.Ascending(id.Message)),
ProviderID: opencode.F(a.Provider.ID),
ModelID: opencode.F(a.Model.ID),
})