A clickable model option in the selector.
ModelOption(
self,
label: str,
model_spec: str,
provider: str,
index: int,
*,
has_creds: bool | None = True,
classes: str = ''
)Static| Name | Type | Description |
|---|---|---|
label* | str | The display text for the option. |
model_spec* | str | The model specification (provider:model format). |
provider* | str | The provider name. |
index* | int | The index of this option in the filtered list. |
has_creds | bool | None | Default: TrueWhether the provider has valid credentials. True if confirmed, False if missing, None if unknown. |
classes | str | Default: ''CSS classes for styling. |