providers
Class info¶
Classes¶
| Name | Children | Inherits |
|---|---|---|
| DisableProviderRequest aclientp.schema.providers Disable a non-required provider. |
||
| DisableProviderResponse aclientp.schema.providers Response to ``providers/disable``. |
||
| ListProvidersRequest aclientp.schema.providers Request the configurable providers. |
||
| ListProvidersResponse aclientp.schema.providers Response to ``providers/list``. |
||
| ProviderCurrentConfig aclientp.schema.providers Current effective non-secret routing config of a provider. |
||
| ProviderInfo aclientp.schema.providers A configurable provider with its current routing info, suitable for UI display. |
||
| SetProviderRequest aclientp.schema.providers Configure a provider's routing. |
||
| SetProviderResponse aclientp.schema.providers Response to ``providers/set``. |
🛈 DocStrings¶
UNSTABLE: LLM provider configuration (providers/list, providers/set, ...).
Lets a client route an agent's model traffic through its own endpoints.
Only available if the Agent advertises the providers capability.
LlmProtocol
module-attribute
¶
API protocol spoken by a provider endpoint.
DisableProviderRequest
¶
DisableProviderResponse
¶
ListProvidersRequest
¶
ListProvidersResponse
¶
Bases: Response
Response to providers/list.
Source code in src/aclientp/schema/providers.py
providers
instance-attribute
¶
providers: Sequence[ProviderInfo]
Configurable providers with current routing info.
ProviderCurrentConfig
¶
Bases: AnnotatedObject
Current effective non-secret routing config of a provider.
Source code in src/aclientp/schema/providers.py
ProviderInfo
¶
Bases: AnnotatedObject
A configurable provider with its current routing info, suitable for UI display.
Source code in src/aclientp/schema/providers.py
current
class-attribute
instance-attribute
¶
current: ProviderCurrentConfig | None = None
Current effective config. None means the provider is disabled.
required
instance-attribute
¶
Whether this provider is mandatory. Clients must not call providers/disable for it.
supported
instance-attribute
¶
supported: Sequence[LlmProtocol]
Supported protocol types for this provider.
SetProviderRequest
¶
Bases: Request
Configure a provider's routing.
Source code in src/aclientp/schema/providers.py
headers
class-attribute
instance-attribute
¶
Full headers map for this provider (may include authorization headers).