mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-06-17 20:52:33 +08:00
Consolidates the incremental refactor work into a single change set: modular web tools (api/web_tools), native Anthropic request building and SSE block policy, OpenAI conversion and error handling, provider transports and rate limiting, messaging handler and tree queue, safe logging, smoke tests, and broad test coverage.
18 lines
483 B
Python
18 lines
483 B
Python
"""Submodules for Anthropic web server tool handling (search/fetch, egress, streaming)."""
|
|
|
|
from .egress import (
|
|
WebFetchEgressPolicy,
|
|
WebFetchEgressViolation,
|
|
enforce_web_fetch_egress,
|
|
)
|
|
from .request import is_web_server_tool_request
|
|
from .streaming import stream_web_server_tool_response
|
|
|
|
__all__ = [
|
|
"WebFetchEgressPolicy",
|
|
"WebFetchEgressViolation",
|
|
"enforce_web_fetch_egress",
|
|
"is_web_server_tool_request",
|
|
"stream_web_server_tool_response",
|
|
]
|