mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(utils.py): fix proxy streaming spend tracking
This commit is contained in:
parent
01a2514b98
commit
f8870fb48e
4 changed files with 130 additions and 14 deletions
|
@ -68,6 +68,7 @@ async def chat_completion(session, key):
|
|||
|
||||
if status != 200:
|
||||
raise Exception(f"Request did not return a 200 status code: {status}")
|
||||
return await response.json()
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue