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]

search_context_cost_per_query test

Ishaan Jaff78c371d2e88a
diff --git a/tests/local_testing/test_get_model_info.py b/tests/local_testing/test_get_model_info.py
index f885a61e78d..4cca96481d2 100644
--- a/tests/local_testing/test_get_model_info.py
+++ b/tests/local_testing/test_get_model_info.py
@@ -518,12 +518,12 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
],
},
},
- "search_context_cost_per_1k_calls": {
+ "search_context_cost_per_query": {
"type": "object",
"properties": {
- "low_context": {"type": "number"},
- "medium_context": {"type": "number"},
- "high_context": {"type": "number"},
+ "search_context_size_low": {"type": "number"},
+ "search_context_size_medium": {"type": "number"},
+ "search_context_size_high": {"type": "number"},
},
"additionalProperties": False,
},