fix init command and escape to cancel

This commit is contained in:
Dax Raad
2025-07-14 10:48:17 -04:00
parent a53d2ea356
commit 31e0326f78
2 changed files with 7 additions and 4 deletions

View File

@@ -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),
})