mirror of
https://github.com/Alishahryar1/free-claude-code.git
synced 2026-04-28 03:20:01 +00:00
Major refactor: API, providers, messaging, and Anthropic protocol
Some checks are pending
CI / checks (push) Waiting to run
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.
This commit is contained in:
parent
b9ed704095
commit
f3a7528d49
139 changed files with 7460 additions and 2422 deletions
17
api/web_tools/__init__.py
Normal file
17
api/web_tools/__init__.py
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
"""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",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue