diff options
| author | Joel Kronqvist <joel.kronqvist@iki.fi> | 2026-10-13 20:44:39 +0300 |
|---|---|---|
| committer | Joel Kronqvist <joel.kronqvist@iki.fi> | 2026-10-13 20:44:39 +0300 |
| commit | 723cbece96ac139a91c9766dd8af846c13681dba (patch) | |
| tree | fa661cab8984bedfdd55a6316fb0bb54efbbe851 /actions.py | |
| parent | 94ac1e1b1df4ed6dbdf2f0f0d41cb6dce747cbf3 (diff) | |
| download | agent-723cbece96ac139a91c9766dd8af846c13681dba.tar.gz agent-723cbece96ac139a91c9766dd8af846c13681dba.zip | |
feat: socks5 proxy
Diffstat (limited to 'actions.py')
| -rw-r--r-- | actions.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -130,7 +130,7 @@ def _mypy(args: JSON, config: AgentConfig) -> JSON: def _webgrep(args: JSON, config: AgentConfig) -> JSON: '{"action": "webgrep", "url": URL, "keywords": KEYWORD_LIST} - find case-insensitive matches in markdownified content of URL for keywords in KEYWORD_LIST plus some context on both sides' - match fetch_and_markdownify(args["url"]): + match fetch_and_markdownify(args["url"], proxy=config.socks5_proxy): case FetchError(e): return {"status": "error", "reason": e} case FetchSuccess(content): |
