Skip to content

SetProviderRequest

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.v2.base
A v2 object with the ``_meta`` extension point.

⋔ Inheritance diagram

graph TD
  95970869658400["providers.SetProviderRequest"]
  95970868359040["base.AnnotatedObject"]
  95970855946400["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970868359040 --> 95970869658400
  95970855946400 --> 95970868359040
  95970851503232 --> 95970855946400
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Request parameters for providers/set.

Source code in src/aclientp/schema/v2/providers.py
class SetProviderRequest(AnnotatedObject):
    """**UNSTABLE**: Request parameters for ``providers/set``."""

    provider_id: ProviderId
    """Provider ID to configure."""

    api_type: LlmProtocol
    """Protocol type for this provider."""

    base_url: str
    """Base URL for requests sent through this provider."""

    headers: dict[str, str] | MISSING = MISSING
    """Full headers map for this provider. May include authorization, routing, or other
    integration-specific headers."""

api_type instance-attribute

api_type: LlmProtocol

Protocol type for this provider.

base_url instance-attribute

base_url: str

Base URL for requests sent through this provider.

headers class-attribute instance-attribute

headers: dict[str, str] | MISSING = MISSING

Full headers map for this provider. May include authorization, routing, or other integration-specific headers.

provider_id instance-attribute

provider_id: ProviderId

Provider ID to configure.

:fa-brands-github: Show source on GitHub