Kind: Class
Source: atloria-monorepo/libs/agent-core/src/runtime/model-adapter.ts
Azure Model Provider — factory that returns AzureResponsesModel instances. Passed to the SDK Runner as the modelProvider.
Supports model fallback: if a fallbackModel is configured, the provider wraps the primary model with automatic failover. When the primary model fails with a non-transient error (e.g., model unavailable, quota exceeded), it transparently switches to the fallback model for the rest of the run.
Inspired by Claude Code's FallbackTriggeredError → switch models pattern.
Implements: ModelProvider
Methods
| Method | Signature | Returns |
|---|---|---|
getProfile | getProfile() | ModelCapabilityProfile |
getModel | getModel(modelName: string) | AzureResponsesModel |
Was this page helpful?