forked from phoenix/litellm-mirror
fix(openai.py): switch back to using requests instead of httpx
This commit is contained in:
parent
5990d046c4
commit
fc8b54eb73
4 changed files with 3 additions and 37 deletions
|
@ -38,11 +38,6 @@ def test_chat_openai():
|
|||
for chunk in response:
|
||||
# print(chunk)
|
||||
continue
|
||||
response = completion(model="gpt-3.5-turbo",
|
||||
messages=[{
|
||||
"role": "user",
|
||||
"content": "Hi 👋 - i'm openai"
|
||||
}])
|
||||
# print(response)
|
||||
|
||||
except Exception as e:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue