Merge pull request #11701 from cli/kw/agent-task-view-improper-default

`gh agent-task view`: Fix default value in session selection prompt
This commit is contained in:
Kynan Ware 2025-09-09 16:19:20 -06:00 committed by GitHub
commit 24fc5df13e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -185,7 +185,7 @@ func viewRun(opts *ViewOptions) error {
}
opts.IO.StopProgressIndicator()
selected, err := opts.Prompter.Select("Select a session", options[0], options)
selected, err := opts.Prompter.Select("Select a session", "", options)
if err != nil {
return err
}