Common places to set a model
- Adapter default: a default model on the configured AI backend adapter.
- Agent defaults: an agent may specify a model to use for messages routed to it.
- Per-request override: some callers (for example, OpenAI-compatible HTTP clients) can include a model in the request.
Typical precedence
In general, the gateway prefers the most specific choice available:- Per-request override (when provided)
- Routed agent model (when an agent is selected)
- Adapter default
- Global default (if configured)