mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
feat(user_api_key_auth.py): support calling langfuse with litellm user_api_key_auth
This commit is contained in:
parent
66d77f177f
commit
742e3cbccf
4 changed files with 160 additions and 7 deletions
|
@ -309,7 +309,7 @@ async def pass_through_request(
|
|||
json=_parsed_body,
|
||||
)
|
||||
|
||||
if response.status_code != 200:
|
||||
if response.status_code >= 300:
|
||||
raise HTTPException(status_code=response.status_code, detail=response.text)
|
||||
|
||||
content = await response.aread()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue