mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-26 10:31:07 +00:00
Some checks are pending
CI / checks (push) Waiting to run
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.
22 lines
576 B
Python
22 lines
576 B
Python
"""Compatibility re-exports for :mod:`api.web_tools` (web_search / web_fetch)."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import httpx
|
|
|
|
from api.web_tools.egress import (
|
|
WebFetchEgressPolicy,
|
|
WebFetchEgressViolation,
|
|
enforce_web_fetch_egress,
|
|
)
|
|
from api.web_tools.request import is_web_server_tool_request
|
|
from api.web_tools.streaming import stream_web_server_tool_response
|
|
|
|
__all__ = [
|
|
"WebFetchEgressPolicy",
|
|
"WebFetchEgressViolation",
|
|
"enforce_web_fetch_egress",
|
|
"httpx",
|
|
"is_web_server_tool_request",
|
|
"stream_web_server_tool_response",
|
|
]
|