From 3b45d52dfef338589f5b0f97ad39048258e9ed81 Mon Sep 17 00:00:00 2001 From: wlff123 Date: Tue, 31 Mar 2026 15:20:13 +0800 Subject: [PATCH] Fix HTTPX recognition issue with SOCKS5 proxy causing OpenViking crash original pr: https://github.com/volcengine/OpenViking/pull/957/changes Author: wushijian --- examples/openclaw-plugin/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/openclaw-plugin/index.ts b/examples/openclaw-plugin/index.ts index 7692d077a..06d4b058c 100644 --- a/examples/openclaw-plugin/index.ts +++ b/examples/openclaw-plugin/index.ts @@ -1017,8 +1017,9 @@ const contextEnginePlugin = { // Inherit system environment; optionally override Go/Python paths via env vars const pathSep = IS_WIN ? ";" : ":"; + const { ALL_PROXY, all_proxy, HTTP_PROXY, http_proxy, HTTPS_PROXY, https_proxy, ...filteredEnv } = process.env; const env = { - ...process.env, + ...filteredEnv, PYTHONUNBUFFERED: "1", PYTHONWARNINGS: "ignore::RuntimeWarning", OPENVIKING_CONFIG_FILE: cfg.configPath,