Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

Fix HTTPX recognition issue with SOCKS5 proxy causing OpenViking crash (#1118)

AutoCoderc1bd4466011a
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,