mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
fix(openai.py): handling extra headers
This commit is contained in:
parent
9e072f87bd
commit
a94c09c13c
6 changed files with 98 additions and 118 deletions
|
@ -494,7 +494,7 @@ def test_completion_openrouter1():
|
|||
print(response)
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
# test_completion_openrouter1()
|
||||
test_completion_openrouter1()
|
||||
|
||||
def test_completion_hf_model_no_provider():
|
||||
try:
|
||||
|
@ -562,7 +562,7 @@ def test_completion_azure():
|
|||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
test_completion_azure()
|
||||
# test_completion_azure()
|
||||
|
||||
def test_azure_openai_ad_token():
|
||||
# this tests if the azure ad token is set in the request header
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue