fix(agents): enforce exact profile model identity (#3473)

Co-authored-by: ayattara <alassane.yattara@savoirfairelinux.com>
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
This commit is contained in:
Alassane
2026-09-15 18:11:43 -04:00
committed by GitHub
parent 4ef775afc9
commit 739eabc49a
141 changed files with 4136 additions and 2338 deletions
@@ -49,6 +49,8 @@ var (
ErrCommandRequired = errors.New("command is required")
ErrInvalidProfileEnvVars = errors.New("invalid profile env vars")
ErrInvalidCommandPrefix = errors.New("invalid command prefix")
ErrRequireExactModelNeedsModel = errors.New("exact model requires a concrete model")
ErrRequireExactModelUnsupported = errors.New("exact model is not supported for this profile")
ErrUnknownMCPStrategy = errors.New("unknown MCP strategy")
ErrNotCustomTUIAgent = errors.New("agent is not a custom TUI agent")
ErrDynamicAgentRoutingDisabled = errors.New("dynamic agent routing is disabled")