forked from phoenix/litellm-mirror
(test) custom_llm_provider in hidden params
This commit is contained in:
parent
fd9bddc71a
commit
70899521ae
1 changed files with 3 additions and 0 deletions
|
@ -849,6 +849,9 @@ def test_completion_azure_key_completion_arg():
|
||||||
max_tokens=10,
|
max_tokens=10,
|
||||||
)
|
)
|
||||||
print(f"response: {response}")
|
print(f"response: {response}")
|
||||||
|
|
||||||
|
print("Hidden Params", response._hidden_params)
|
||||||
|
assert response._hidden_params["custom_llm_provider"] == "azure"
|
||||||
os.environ["AZURE_API_KEY"] = old_key
|
os.environ["AZURE_API_KEY"] = old_key
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
os.environ["AZURE_API_KEY"] = old_key
|
os.environ["AZURE_API_KEY"] = old_key
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue