The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test azure instruct
Ishaan Jaffer6d74f33043b5
diff --git a/tests/local_testing/test_completion.py b/tests/local_testing/test_completion.pyindex 57e96f5fed2..6429bb6b49b 100644--- a/tests/local_testing/test_completion.py+++ b/tests/local_testing/test_completion.py@@ -2514,31 +2514,6 @@ def test_completion_azure_key_completion_arg():pytest.fail(f"Error occurred: {e}")-# test_completion_azure_key_completion_arg()---def test_azure_instruct():- litellm.set_verbose = True- response = completion(- model="azure_text/instruct-model",- messages=[{"role": "user", "content": "What is the weather like in Boston?"}],- max_tokens=10,- )- print("response", response)---async def test_azure_instruct_stream():- litellm.set_verbose = False- response = await litellm.acompletion(- model="azure_text/instruct-model",- messages=[{"role": "user", "content": "What is the weather like in Boston?"}],- max_tokens=10,- stream=True,- )- print("response", response)- async for chunk in response:- print(chunk)async def test_re_use_azure_async_client():