Mercurial
diff mrjunejune/inference/sdk_import_test.py @ 260:1f9877b637e9
Add Copilot-powered cyberpunk JRPG chat
Integrate the production JRPG chat with Seobeo streaming, Deita persistence, and a Bazel-managed Copilot SDK and LiteLLM inference stack.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <mrjunejune@users.noreply.github.com> |
|---|---|
| date | Wed, 05 Aug 2026 09:19:41 -0700 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mrjunejune/inference/sdk_import_test.py Wed Aug 05 09:19:41 2026 -0700 @@ -0,0 +1,30 @@ +import importlib.metadata +import unittest + +from copilot import CopilotClient, ProviderConfig +from litellm import LlmProviders +from litellm import LlmProviders + + +class SdkImportTest(unittest.TestCase): + def test_pinned_packages_and_provider_are_available(self) -> None: + self.assertEqual( + importlib.metadata.version("github-copilot-sdk"), + "1.0.8", + ) + self.assertEqual(importlib.metadata.version("litellm"), "1.95.0") + self.assertEqual(importlib.metadata.version("litellm"), "1.95.0") + self.assertEqual(CopilotClient.__name__, "CopilotClient") + self.assertEqual(ProviderConfig.__name__, "ProviderConfig") + self.assertEqual( + LlmProviders.GITHUB_COPILOT.value, + "github_copilot", + ) + self.assertEqual( + LlmProviders.GITHUB_COPILOT.value, + "github_copilot", + ) + + +if __name__ == "__main__": + unittest.main()