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 (#957)

Ghostknight0edfa20e8b1ca
diff --git a/examples/openclaw-plugin/index.ts b/examples/openclaw-plugin/index.ts
index 70fcd09ab..401102b34 100644
--- a/examples/openclaw-plugin/index.ts
+++ b/examples/openclaw-plugin/index.ts
@@ -621,8 +621,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,