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 fix get_base_completion_call_args
Ishaan Jaff83e4c34e0a7a
diff --git a/tests/llm_translation/test_azure_o_series.py b/tests/llm_translation/test_azure_o_series.pyindex ce9a32f8608..48b8f328f61 100644--- a/tests/llm_translation/test_azure_o_series.py+++ b/tests/llm_translation/test_azure_o_series.py@@ -21,9 +21,9 @@ from base_llm_unit_tests import BaseLLMChatTest, BaseOSeriesModelsTestclass TestAzureOpenAIO1(BaseOSeriesModelsTest, BaseLLMChatTest):def get_base_completion_call_args(self):return {- "model": "azure/o1-preview",+ "model": "azure/o1","api_key": os.getenv("AZURE_OPENAI_O1_KEY"),- "api_base": "https://openai-gpt-4-test-v-1.openai.azure.com",+ "api_base": "https://openai-prod-test.openai.azure.com",}def get_client(self):@@ -31,7 +31,7 @@ class TestAzureOpenAIO1(BaseOSeriesModelsTest, BaseLLMChatTest):return AzureOpenAI(api_key="my-fake-o1-key",- base_url="https://openai-gpt-4-test-v-1.openai.azure.com",+ base_url="https://openai-prod-test.openai.azure.com",api_version="2024-02-15-preview",)