forked from phoenix/litellm-mirror
fix test guardrails
This commit is contained in:
parent
b2d63f752c
commit
04efdd66c0
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ async def chat_completion(
|
||||||
print()
|
print()
|
||||||
|
|
||||||
if status != 200:
|
if status != 200:
|
||||||
raise Exception(f"Request did not return a 200 status code: {status}")
|
return response_text
|
||||||
|
|
||||||
# response headers
|
# response headers
|
||||||
response_headers = response.headers
|
response_headers = response.headers
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue