From 968fc9d76deaca92f5b81fc3ca4cf00b86ba0552 Mon Sep 17 00:00:00 2001 From: api-gateway Date: Mon, 28 Sep 2026 18:42:25 +0800 Subject: [PATCH] =?UTF-8?q?chore(sync):=20=E6=AF=8F=E6=97=A5=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=2009-27/09-28=20=E8=90=BD=E7=9B=98=E7=9A=84=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E6=94=B9=E5=8A=A8=E5=85=A5=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 由 cron 的 scripts/sync_models.py --apply 自动落盘、此前未入库(按「线上配置 = 仓库配置」 的硬性规则补齐): - 删除 agnes/agnes-video-v2.0(官方文档已不收录) - 新增 opencode/longcat-2.5-preview-free(文档新增,标 Free) - 更新 opencode/qwen3.8-max 的 context_window 1000000 → 262144(models.dev 保守下限) 线上经 hot_reload 早已生效,本次只是把仓库补齐。 --- data/gateway.yaml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/data/gateway.yaml b/data/gateway.yaml index af0f926..3ce8b09 100644 --- a/data/gateway.yaml +++ b/data/gateway.yaml @@ -80,10 +80,6 @@ providers: display_name: "Agnes Video 2.5" type: "video" # 2026-09-24 自动同步:官方文档新增(scripts/sync_models.py) - - id: "agnes-video-v2.0" - display_name: "Agnes Video V2.0" - type: "video" - free: true # 2026-09-24 自动同步:文档「当前优惠」写当前免费(scripts/sync_models.py) volc_engine: name: "火山方舟 Coding Plan" @@ -271,7 +267,7 @@ providers: - id: "qwen3.8-max" display_name: "Qwen3.8 Max" type: "text" - context_window: 1000000 # 第三十三轮(2026-09-24):上下文窗口(token),每日同步维护 + context_window: 262144 # 第三十三轮(2026-09-24):上下文窗口(token),每日同步维护 max_output_tokens: 131072 # 最大输出(token) protocols: ["chat/completions", "messages"] - id: "qwen3.8-flash" @@ -381,6 +377,15 @@ providers: context_window: 1048576 # 第三十三轮(2026-09-24):上下文窗口(token),每日同步维护 max_output_tokens: 131072 # 最大输出(token) protocols: ["responses"] + # 2026-09-27 自动同步:官方文档新增(scripts/sync_models.py) + - id: "longcat-2.5-preview-free" + display_name: "Longcat 2.5 Preview Free" + type: "text" + context_window: 1000000 # 同步 2026-09-28(scripts/sync_models.py) + max_output_tokens: 131072 # 同步 2026-09-28(scripts/sync_models.py) + # 协议线取自官方 Endpoints 表,未逐线实测(现网其它模型是实测过的) + protocols: ["chat/completions"] + free: true # 官方价格表标 Free # ── 虚拟模型 id(别名,第三十一轮)────────────────────────── # 客户端固定写 model: wjd,实际转发到哪个真实模型由**管理员在模型页选**(也可以改这里)。 # · 只走 chat/completions(OpenAI)格式:用 /v1/messages、/v1/responses 打 wjd 会在入口