added proxy support

This commit is contained in:
2026-07-07 06:16:49 +00:00
parent 0baec0231a
commit 14bddc9961
12 changed files with 242 additions and 88 deletions
+3
View File
@@ -14,6 +14,9 @@ OPENROUTER_MODEL=deepseek/deepseek-chat
# deepseek/deepseek-v4-pro — сильная модель, tools поддерживаются:
# OPENROUTER_MODEL=deepseek/deepseek-v4-pro
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
# SOCKS5 для OpenRouter (чат, vision, embeddings). Пусто = напрямую.
# Docker + прокси на хосте: socks5://host.docker.internal:1080
# OPENROUTER_SOCKS5_PROXY=socks5://127.0.0.1:1080
OPENROUTER_TOOLS_ENABLED=true
# none = без thinking (быстрее, стабильнее с tools). low|medium|high|xhigh — reasoning.
OPENROUTER_REASONING_EFFORT=none