Mercurial
view mrjunejune/inference/sdk_probe.py @ 262:0f45474c1b1a
Add cyberpunk JRPG blog browser
Show the latest posts in the JRPG preview and render the full blog archive and sanitized post details in the Inspect modal.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Thu, 06 Aug 2026 04:08:45 -0700 |
| parents | 1f9877b637e9 |
| children |
line wrap: on
line source
import importlib.metadata import json from copilot import CopilotClient, ProviderConfig from litellm import LlmProviders from litellm import LlmProviders def main() -> None: payload = { "copilot_sdk": importlib.metadata.version("github-copilot-sdk"), "copilot_client": CopilotClient.__name__, "provider_config": ProviderConfig.__name__, "litellm": importlib.metadata.version("litellm"), "github_copilot_provider": LlmProviders.GITHUB_COPILOT.value, "litellm": importlib.metadata.version("litellm"), "github_copilot_provider": LlmProviders.GITHUB_COPILOT.value, } print(json.dumps(payload, sort_keys=True)) if __name__ == "__main__": main()