Spaces:
Sleeping
Sleeping
Download api/web_server_tools.py from Yash030/claude-code-proxy: direct link, hf CLI and curl.
- Browser
- Download file 576 Bytes
-
https://huggingface.co/spaces/Yash030/claude-code-proxy/resolve/main/api/web_server_tools.py
- Command line
-
hf download hf://spaces/Yash030/claude-code-proxy/api/web_server_tools.py
-
curl -L -o web_server_tools.py https://huggingface.co/spaces/Yash030/claude-code-proxy/resolve/main/api/web_server_tools.py
576 Bytes
| """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", | |
| ] | |