Skip to content

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]

test: update tests

Krrish Dholakia8265a88e0a42
diff --git a/tests/llm_translation/test_anthropic_completion.py b/tests/llm_translation/test_anthropic_completion.py
index 8f8f4084bba..a83d1d69e9f 100644
--- a/tests/llm_translation/test_anthropic_completion.py
+++ b/tests/llm_translation/test_anthropic_completion.py
@@ -455,7 +455,8 @@ def test_create_json_tool_call_for_response_format():
_input_schema = tool.get("input_schema")
assert _input_schema is not None
assert _input_schema.get("type") == "object"
- assert _input_schema.get("properties") == {"values": custom_schema}
+ assert _input_schema.get("name") == custom_schema["name"]
+ assert _input_schema.get("age") == custom_schema["age"]
assert "additionalProperties" not in _input_schema