From 4fe21c8e20a43cf42dda1074f7cf145ec53cfc6e Mon Sep 17 00:00:00 2001 From: arno Date: Sun, 14 Jun 2026 17:19:18 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE(=E5=B7=A5=E5=85=B7):=20?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20GLM=205.2=20=E6=A8=A1=E5=9E=8B=E5=B9=B6?= =?UTF-8?q?=E6=9B=B4=E6=96=B0=E9=BB=98=E8=AE=A4=E4=B8=8A=E4=B8=8B=E6=96=87?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - runcc.sh 新增 52 快捷方式映射到 glm-5.2 - .env.example 默认模型更新为 52,上下文窗口扩展至 100 万 - 压缩阈值 GLM_COMPACT_PCT 调整为 50 --- .claude/tools/.env.example | 6 +++--- .claude/tools/runcc.sh | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.claude/tools/.env.example b/.claude/tools/.env.example index 02af290..5a8ef68 100644 --- a/.claude/tools/.env.example +++ b/.claude/tools/.env.example @@ -10,9 +10,9 @@ SETTINGS_FILE=$HOME/.claude/settings.json # ── GLM Coding Plan (open.bigmodel.cn) ────────────────── GLM_BASE_URL=https://open.bigmodel.cn/api/anthropic GLM_AUTH_TOKEN={{your_glm_api_key}} -GLM_DEFAULT_MODEL=51 -GLM_CONTEXT_WINDOW=200000 -GLM_COMPACT_PCT=75 +GLM_DEFAULT_MODEL=52 +GLM_CONTEXT_WINDOW=1000000 +GLM_COMPACT_PCT=50 # ── DeepSeek (api.deepseek.com) ───────────────────────── # 取消注释以下行以启用 DeepSeek: diff --git a/.claude/tools/runcc.sh b/.claude/tools/runcc.sh index 30ecbcd..b569980 100755 --- a/.claude/tools/runcc.sh +++ b/.claude/tools/runcc.sh @@ -49,7 +49,7 @@ while [ $# -gt 0 ]; do echo " --name, -n <名称> Claude Code 会话显示名称" echo " --provider, -p <名称> API 提供商 (由 .env 配置,如 glm / deepseek)" echo "" - echo "GLM 模型: 45|45a|46|47|5|5t|51" + echo "GLM 模型: 45|45a|46|47|5|5t|51|52" echo "Qwen 模型: qw37|qw36f" echo "DeepSeek 模型: ds|dsf" echo "其他: 直接传入模型名称" @@ -134,6 +134,7 @@ case "$MODEL_KEY" in 5) MODEL="glm-5" ;; 5t) MODEL="glm-5-turbo" ;; 51) MODEL="glm-5.1" ;; + 52) MODEL="glm-5.2" ;; # Qwen 系列 qw37) MODEL="qwen3.7-max" ;; qw36f) MODEL="qwen3.6-flash" ;;