mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
* fix websearch_interception_converted_stream * test_websearch_interception_no_tool_call_streaming * FakeAnthropicMessagesStreamIterator * LITELLM_WEB_SEARCH_TOOL_NAME * fixes tools def for litellm web search * fixes FakeAnthropicMessagesStreamIterator * test_litellm_standard_websearch_tool * use new hook for modfying before any transfroms from litellm * init WebSearchInterceptionLogger + ARCHITECTURE * fix config.yaml * init doc for claude code web search * docs fix * doc fix * fix mypy linting
20 lines
509 B
Python
20 lines
509 B
Python
"""
|
|
WebSearch Interception Module
|
|
|
|
Provides server-side WebSearch tool execution for models that don't natively
|
|
support server-side tool calling (e.g., Bedrock/Claude).
|
|
"""
|
|
|
|
from litellm.integrations.websearch_interception.handler import (
|
|
WebSearchInterceptionLogger,
|
|
)
|
|
from litellm.integrations.websearch_interception.tools import (
|
|
get_litellm_web_search_tool,
|
|
is_web_search_tool,
|
|
)
|
|
|
|
__all__ = [
|
|
"WebSearchInterceptionLogger",
|
|
"get_litellm_web_search_tool",
|
|
"is_web_search_tool",
|
|
]
|