fix flaky test test_openai_responses_api_web_search_cost_tracking

This commit is contained in:
Ishaan Jaff 2025-03-24 15:51:33 -07:00
parent b33c56cf10
commit 36d17c23ac

View file

@ -115,13 +115,13 @@ async def test_openai_web_search_logging_cost_tracking(
"tools_config,expected_context_size,stream",
[
(
[{"type": "web_search_preview", "search_context_size": "high"}],
"search_context_size_high",
[{"type": "web_search_preview", "search_context_size": "low"}],
"search_context_size_low",
True,
),
(
[{"type": "web_search_preview", "search_context_size": "high"}],
"search_context_size_high",
[{"type": "web_search_preview", "search_context_size": "low"}],
"search_context_size_low",
False,
),
([{"type": "web_search_preview"}], "search_context_size_medium", True),