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

Method _sync

tests/unit/proxy/client/cli/test_agents.py:567–570  ·  view source on GitHub ↗
(self, listing, base_env=None, base_url="http://localhost:4000/", groups=())

Source from the content-addressed store, hash-verified

565 return {"object": "list", "data": list(models)}
566
567 def _sync(self, listing, base_env=None, base_url="http://localhost:4000/", groups=()):
568 captured = {}
569 env = opencode_model_sync_env(base_env or {}, base_url, "sk-key", get=_routed_get(captured, listing, groups))
570 return captured, env
571
572 def test_declares_proxy_as_litellm_provider_with_listed_models(self):
573 listing = self._listing(

Calls 2

opencode_model_sync_envFunction · 0.90
_routed_getFunction · 0.85

Tested by

no test coverage detected