Skip to content

Commit 6aa60b9

Browse files
committed
Resolve merge conflict and maintain flake8 fixes
- Keep noqa: E402 comments for imports after os.environ setup - Maintain proper import order and formatting
2 parents ca098b0 + f8fd885 commit 6aa60b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mcp_server.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# === 环境变量配置:必须在所有 import 之前设置 ===
22
import os
3+
34
os.environ["TQDM_DISABLE"] = "1" # 禁用 tqdm 进度条,防止污染 stdio
45
os.environ["TQDM_NCOLS"] = "0" # 备用:禁用 tqdm 自动宽度检测
56
os.environ["LOCAL_DEPLOYMENT_MODE"] = "true" # 🔑 关键:强制 Dingo 使用 ThreadPool 而非 ProcessPool

0 commit comments

Comments
 (0)