Skip to content

ProviderCurrentConfig

Base classes

Name Children Inherits
AnnotatedObject
aclientp.schema.base
Base class for generated models.

⋔ Inheritance diagram

graph TD
  95970861145120["providers.ProviderCurrentConfig"]
  95970862258240["base.AnnotatedObject"]
  95970862254416["base.Schema"]
  95970851503232["main.BaseModel"]
  125067848591872["builtins.object"]
  95970862258240 --> 95970861145120
  95970862254416 --> 95970862258240
  95970851503232 --> 95970862254416
  125067848591872 --> 95970851503232

🛈 DocStrings

Bases: AnnotatedObject

Current effective non-secret routing config of a provider.

Source code in src/aclientp/schema/providers.py
class ProviderCurrentConfig(AnnotatedObject):
    """Current effective non-secret routing config of 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