mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
(feat) proxy: use orjson
This commit is contained in:
parent
ae6e852219
commit
c9e21d97cd
3 changed files with 11 additions and 4 deletions
|
@ -36,7 +36,7 @@ async def litellm_completion():
|
|||
|
||||
async def main():
|
||||
start = time.time()
|
||||
n = 10 # Number of concurrent tasks
|
||||
n = 100 # Number of concurrent tasks
|
||||
tasks = [litellm_completion() for _ in range(n)]
|
||||
|
||||
chat_completions = await asyncio.gather(*tasks)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue