Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
Python agent-contextagent-memoryagent-pluginsagentic-ragcontext-databasedsh-pluginknowledge-basememorymemory-managementself-evolvingvector-database
fix(vlm): preserve GitHub Copilot routes (#3170)
allenliang202264546b82707d
diff --git a/openviking/models/vlm/backends/litellm_vlm.py b/openviking/models/vlm/backends/litellm_vlm.pyindex ade88bf2b..65b5de41f 100644--- a/openviking/models/vlm/backends/litellm_vlm.py+++ b/openviking/models/vlm/backends/litellm_vlm.py@@ -120,6 +120,7 @@ EXPLICIT_LITELLM_PREFIXES: tuple[str, ...] = ("sagemaker_chat/","sagemaker_nova/","vertex_ai/",+ "github_copilot/",)# These explicit routes normally authenticate through cloud-native credentialdiff --git a/tests/unit/test_litellm_vlm_provider_detection.py b/tests/unit/test_litellm_vlm_provider_detection.pyindex 274776f0a..0b2918952 100644--- a/tests/unit/test_litellm_vlm_provider_detection.py+++ b/tests/unit/test_litellm_vlm_provider_detection.py@@ -52,6 +52,17 @@ class TestLiteLLMVLMProviderDetection:assert _vlm(model)._resolve_model(model) == model+ @pytest.mark.parametrize(+ "model",+ [+ "github_copilot/claude-opus-4.8",+ "github_copilot/gpt-4o",+ ],+ )+ def test_github_copilot_route_is_left_alone(self, model):+ assert detect_provider_by_model(model) is None+ assert _vlm(model)._resolve_model(model) == model+@pytest.mark.parametrize(("model", "provider"),[