fix: command model selection (#2219)

This commit is contained in:
Aiden Cline
2025-08-24 12:06:48 -05:00
committed by GitHub
parent d4c8d95ec6
commit cc66e06101
2 changed files with 10 additions and 4 deletions

View File

@@ -820,6 +820,8 @@ func (a *App) SendCommand(ctx context.Context, command string, args string) (*Ap
opencode.SessionCommandParams{
Command: opencode.F(command),
Arguments: opencode.F(args),
Agent: opencode.F(a.Agents[a.AgentIndex].Name),
Model: opencode.F(a.State.Provider + "/" + a.State.Model),
},
)
if err != nil {