mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
test_azure_openai_with_prompt_cache_key
This commit is contained in:
parent
e032205afe
commit
3058ab0b14
1 changed files with 4 additions and 1 deletions
|
|
@ -736,7 +736,10 @@ def test_azure_openai_with_prompt_cache_key():
|
|||
"""
|
||||
litellm._turn_on_debug()
|
||||
response = litellm.completion(
|
||||
model="azure/gpt-4o",
|
||||
model="azure/gpt-4.1-mini",
|
||||
api_key=os.getenv("AZURE_API_KEY"),
|
||||
api_base=os.getenv("AZURE_API_BASE"),
|
||||
api_version="2024-12-01-preview",
|
||||
messages=[{"role": "user", "content": "What is the weather in San Francisco?"}],
|
||||
prompt_cache_key="test_streaming_azure_openai",
|
||||
)
|
||||
Loading…
Add table
Reference in a new issue