Initialize asynchronous LiteLLM OpenAI-compatible client.
(self)
| 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 | ) |
nothing calls this directly
no outgoing calls
no test coverage detected