forked from phoenix/litellm-mirror
test(test_health_check.py): fix azure embedding health check test
This commit is contained in:
parent
ed5111ff2c
commit
5089753925
1 changed files with 1 additions and 1 deletions
|
@ -37,11 +37,11 @@ async def test_azure_embedding_health_check():
|
|||
response = await litellm.ahealth_check(
|
||||
model_params={
|
||||
"model": "azure/azure-embedding-model",
|
||||
"messages": [{"role": "user", "content": "Hey, how's it going?"}],
|
||||
"api_key": os.getenv("AZURE_API_KEY"),
|
||||
"api_base": os.getenv("AZURE_API_BASE"),
|
||||
"api_version": os.getenv("AZURE_API_VERSION"),
|
||||
},
|
||||
input=["test for litellm"],
|
||||
mode="embedding",
|
||||
)
|
||||
print(f"response: {response}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue