litellm/tests/test_litellm/integrations/websearch_interception
Sameer Kankute cb057ad44b
fix(websearch_interception): ensure spend/cost logging runs when stream=True
The deployment hook now converts stream=True→False in wrapper_async's
scope so the streaming early-return path is skipped and logging executes.
logging_obj.stream is synced after the hook, and the original stream
intent is recovered for the short-circuit path.

Made-with: Cursor
2026-04-09 18:48:38 +05:30
..
test_websearch_chat_completion.py Add tests for WebSearch interception with chat completions API 2026-02-09 13:41:29 +05:30
test_websearch_interception_handler.py fix(websearch_interception): ensure spend/cost logging runs when stream=True 2026-04-09 18:48:38 +05:30
test_websearch_interception_thinking.py fix(websearch_interception): preserve thinking blocks in agentic loop follow-up messages 2026-02-19 21:51:00 +01:00
test_websearch_short_circuit.py fix: guard short-circuit against providers with native agentic loop 2026-03-20 01:07:20 +02:00
test_websearch_thinking_constraint.py fix: WebSearch interception fails with thinking enabled + SpendLimit constraint 2026-03-04 22:44:52 +01:00