mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-05 10:13:05 +00:00
remove request wrapper
This commit is contained in:
parent
f4ba0e997a
commit
f115ce3edd
1 changed files with 1 additions and 5 deletions
|
@ -168,11 +168,7 @@ class LlamaStackAsLibraryClient(LlamaStackClient):
|
|||
|
||||
return sync_generator()
|
||||
else:
|
||||
|
||||
async def _request():
|
||||
return await self.async_client.request(*args, **kwargs)
|
||||
|
||||
return asyncio.run(_request())
|
||||
return asyncio.run(self.async_client.request(*args, **kwargs))
|
||||
|
||||
|
||||
class AsyncLlamaStackAsLibraryClient(AsyncLlamaStackClient):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue