[PR #6578] fix: display error if invalid agent is used in a command #11982

Closed
opened 2026-02-16 18:16:55 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6578

State: closed
Merged: Yes


If you use an invalid agent name in a command, the command call just silently fails. With this change we show an error that the agent is not found and hint on what agents are available.

Resolves https://github.com/sst/opencode/issues/6567

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6578 **State:** closed **Merged:** Yes --- If you use an invalid agent name in a [command](https://opencode.ai/docs/commands/), the command call just silently fails. With this change we show an error that the agent is not found and hint on what agents are available. Resolves https://github.com/sst/opencode/issues/6567
yindo added the pull-request label 2026-02-16 18:16:55 -05:00
yindo closed this issue 2026-02-16 18:16:55 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11982