Skip to content

ProviderCurrentConfig

Base classes

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

⋔ Inheritance diagram

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

🛈 DocStrings

Bases: AnnotatedObject

UNSTABLE: Current effective non-secret routing configuration for a provider.

Source code in src/aclientp/schema/v2/providers.py
class ProviderCurrentConfig(AnnotatedObject):
    """**UNSTABLE**: Current effective non-secret routing configuration for a provider."""

    api_type: LlmProtocol
    """Protocol currently used by this provider."""

    base_url: str
    """Base URL currently used by this provider."""

api_type instance-attribute

api_type: LlmProtocol

Protocol currently used by this provider.

base_url instance-attribute

base_url: str

Base URL currently used by this provider.

:fa-brands-github: Show source on GitHub