Spaces:
Sleeping
Sleeping
File size: 507 Bytes
2415446 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | """Application-owned model metadata."""
from dataclasses import dataclass
@dataclass(frozen=True, slots=True)
class ProviderModelInfo:
"""Provider model metadata used to shape the application model catalog."""
model_id: str
supports_thinking: bool | None = None
@dataclass(frozen=True, slots=True)
class ProviderModelRefreshResult:
"""Per-provider outcome of one model-catalog refresh."""
refreshed_provider_ids: tuple[str, ...] = ()
failed_provider_ids: tuple[str, ...] = ()
|