MCPcopy Create free account
hub / github.com/AsyncFuncAI/deepwiki-open / init_async_client

Method init_async_client

api/litellm_client.py:59–67  ·  view source on GitHub ↗

Initialize asynchronous LiteLLM OpenAI-compatible client.

(self)

Source from the content-addressed store, hash-verified

57 )
58
59 def init_async_client(self):
60 """
61 Initialize asynchronous LiteLLM OpenAI-compatible client.
62 """
63 api_key = self._api_key or os.getenv(self._env_api_key_name, "dummy")
64 return AsyncOpenAI(
65 api_key=api_key,
66 base_url=self.base_url,
67 )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected