feat(tool): add web search proxy

This commit is contained in:
chengyongru
2026-03-01 13:27:46 +08:00
parent aff8d8e9e1
commit 82be2ae1a5
5 changed files with 38 additions and 9 deletions

View File

@@ -290,6 +290,7 @@ class WebSearchConfig(Base):
class WebToolsConfig(Base):
"""Web tools configuration."""
proxy: str | None = None # HTTP/SOCKS5 proxy URL, e.g. "http://127.0.0.1:7890" or "socks5://127.0.0.1:1080"
search: WebSearchConfig = Field(default_factory=WebSearchConfig)