fix(web): show egress IPs in navbar middle via settings toggle

This commit is contained in:
RuoJi6 committed 2026-10-27 13:46:34 +08:00
1 parent 251dccb921
commit 7e5c828fc2
8 files changed
+180 -174

No files matched your search

+1
View File
@@ -3336,6 +3336,7 @@ export const settings: Settings = {
tavily_key_set: true,
web_search_proxy: "",
global_proxy: "",
show_egress_ip: false,
python_interpreter: "/usr/bin/python3",
workers: 3,
worker_pools: [],
+1
View File
@@ -985,6 +985,7 @@ export interface Settings {
// 全局出口代理(http/https/socks5,可带 user:pass),所有目标流量走它。开启流量捕获时作为
// MITM 上游;关闭捕获时直接注入 agent 的 bash/WebFetch。空=直连。
global_proxy?: string;
show_egress_ip?: boolean; // 在顶栏显示直连 / 全局代理出口 IP;默认关闭
python_interpreter?: string; // 自定义脚本工具的 python 解释器路径(空=运行时检测)
workers?: number; // 并发工作 agent 数(默认3);对之后启动的任务生效
worker_pools: WorkerPool[];