(test) fix azure embedding test

This commit is contained in:
ishaan-jaff 2023-10-13 22:19:34 -07:00
parent 5e5c314bec
commit cacfac5726

View file

@ -56,9 +56,9 @@ def test_openai_azure_embedding():
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_KEY'] = api_base
os.environ['AZURE_API_KEY'] = api_key
except Exception as e:
pytest.fail(f"Error occurred: {e}")