MCPcopy Create free account
hub / github.com/Dizzy-K/AutoPT / ModelSpec

Class ModelSpec

models/registry.py:13–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11
12@dataclass(frozen=True, slots=True)
13class ModelSpec:
14 alias: str
15 name: str
16 provider: str = "openai"
17 notes: str = ""
18
19 def to_dict(self) -> dict[str, Any]:
20 return {
21 "alias": self.alias,
22 "name": self.name,
23 "provider": self.provider,
24 "notes": self.notes,
25 }
26
27
28def list_supported_providers() -> list[str]:

Callers 2

build_model_specFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected