You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
model: inherit in agent frontmatter causes ProviderModelNotFoundError; subagents hidden from /agents dialog #17890
Two related regressions affecting externally-installed subagents (e.g. get-shit-done):
Agents with model: inherit in their frontmatter have inherit passed to Provider.parseModel(), producing { providerID: "inherit", modelID: "" }. Since the field is non-null, the ?? fallback in task.ts is skipped and the spawned session fails with ProviderModelNotFoundError.
The /agents dialog only shows agents where mode !== "subagent", so any externally-installed subagent is invisible — even though the agents load correctly and appear in permission logs.
Plugins
N/A
OpenCode version
1.2.27-cb69501
Steps to reproduce
Install get-shit-done for OpenCode.
Try to use any get-shit-done command, see spawned subagents failed with ProviderModelNotFoundError.
Open /agents and see none of the installed agents.
Screenshot and/or share link
Operating System
NixOS
Terminal
COSMIC Terminal
Reacted by João Fernandes, Mochamad Revanza Kurniawan, Ariane Emory and Fahim Ali Zain
Activity
mrevanzak commentedon Mar 17, 2026
do you find any workaround before this get merge? its break my gsd workflow
justinwyer commentedon Mar 17, 2026
downgrade to GSD v1.23.0, GSD v1.24.0 introduces this issue, or go and put a valid name in your GSD agent configurations, valid model names are: https://models.dev/model-schema.json#/$defs/Model
ariane-emory commentedon Mar 17, 2026
Subagents are not meant to show up in the modal dialogue that the
/agentscommand produces as they cannot be selected for use.flacks commentedon Mar 17, 2026
Agreed, updated.
ariane-emory commentedon Mar 17, 2026
Fantastic! My previous thumbs down react has now been replaced with a thumbs up since this now appears to be a straightforward bug fix.
github-actions commentedon Jul 6, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.