mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
refactor(azure.py): working azure completion calls with openai v1 sdk
This commit is contained in:
parent
d0bd932b3c
commit
39c2597c33
9 changed files with 70 additions and 58 deletions
|
@ -421,7 +421,7 @@ def test_completion_openai():
|
|||
pass
|
||||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
test_completion_openai()
|
||||
# test_completion_openai()
|
||||
|
||||
def test_completion_text_openai():
|
||||
try:
|
||||
|
@ -634,7 +634,7 @@ def test_completion_azure():
|
|||
except Exception as e:
|
||||
pytest.fail(f"Error occurred: {e}")
|
||||
|
||||
# test_completion_azure()
|
||||
test_completion_azure()
|
||||
def test_completion_azure2():
|
||||
# test if we can pass api_base, api_version and api_key in compleition()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue