MCPcopy Create free account
hub / github.com/BerriAI/litellm / GithubHostEndpoints

Class GithubHostEndpoints

litellm/llms/github_copilot/github_host.py:19–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

17
18@dataclass(frozen=True, slots=True)
19class GithubHostEndpoints:
20 host: str
21 device_code_url: str
22 access_token_url: str
23 copilot_user_url: str
24 user_url: str
25 client_id: str
26 copilot_api_hosts: frozenset[str]
27 copilot_api_host_suffix: str | None
28 default_copilot_api_base: str
29
30
31def normalized_github_host(raw: object) -> str | None:

Callers 1

github_host_endpointsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected