mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
(test) fix azure embedding test
This commit is contained in:
parent
5e5c314bec
commit
cacfac5726
1 changed files with 2 additions and 2 deletions
|
@ -56,9 +56,9 @@ def test_openai_azure_embedding():
|
||||||
print(response)
|
print(response)
|
||||||
|
|
||||||
|
|
||||||
os.environ['AZURE_API_VERSION'] = api_key
|
os.environ['AZURE_API_VERSION'] = api_version
|
||||||
os.environ['AZURE_API_BASE'] = api_base
|
os.environ['AZURE_API_BASE'] = api_base
|
||||||
os.environ['AZURE_API_KEY'] = api_base
|
os.environ['AZURE_API_KEY'] = api_key
|
||||||
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pytest.fail(f"Error occurred: {e}")
|
pytest.fail(f"Error occurred: {e}")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue