Skip to content

ModelProviderSummary

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  742859841["v2_protocol.ModelProviderSummary"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 742859841
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class ModelProviderSummary(CodexBaseModel):
    base_url: str | None = None
    """
    Null when the endpoint is absent or cannot be safely displayed.
    """
    can_edit: bool
    """
    Whether a supported configuration field can be edited in the active user layer.
    """
    id: str
    name: str
    settings: ProviderSettings

base_url class-attribute instance-attribute

base_url: str | None = None

Null when the endpoint is absent or cannot be safely displayed.

can_edit instance-attribute

can_edit: bool

Whether a supported configuration field can be edited in the active user layer.

:fa-brands-github: Show source on GitHub