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

Method init_async_client

api/dashscope_client.py:186–195  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

184 return client
185
186 def init_async_client(self):
187 api_key, workspace_id, base_url = self._prepare_client_config()
188
189 client = AsyncOpenAI(api_key=api_key, base_url=base_url)
190
191 # Store workspace_id for later use in requests
192 if workspace_id:
193 client._workspace_id = workspace_id
194
195 return client
196
197 def parse_chat_completion(
198 self,

Callers 1

acallMethod · 0.95

Calls 1

Tested by

no test coverage detected