feat: add inherit model profile for OpenCode /model (#951)

This commit is contained in:
jorge g
2026-03-15 13:40:08 -04:00
committed by GitHub
parent 789cac127d
commit 698985feb1
14 changed files with 111 additions and 50 deletions

View File

@@ -1,6 +1,6 @@
---
name: gsd:set-profile
description: Switch model profile for GSD agents (quality/balanced/budget)
description: Switch model profile for GSD agents (quality/balanced/budget/inherit)
argument-hint: <profile>
allowed-tools:
- Read
@@ -12,7 +12,7 @@ allowed-tools:
Switch the model profile used by GSD agents. Controls which Claude model each agent uses, balancing quality vs token spend.
Routes to the set-profile workflow which handles:
- Argument validation (quality/balanced/budget)
- Argument validation (quality/balanced/budget/inherit)
- Config file creation if missing
- Profile update in config.json
- Confirmation with model table display