Skip to content

Releases: cv-superding/WorkBuddy-Switch2api

v1.6.9

Choose a tag to compare

@github-actions github-actions released this 12 Oct 13:45
v1.6.9:Docker 常驻部署 + 反代/网络缺陷修复 + CI release 修复

v1.6.7

Choose a tag to compare

@github-actions github-actions released this 11 Oct 11:08

反代(本次重点)

  • 修「思考强度调不动」 —— 反代此前只转发 model / messages / stream / temperature / top_p / max_tokens / tools,
    reasoning_effort 等思考参数被整段丢掉:客户端选了推理等级,参数根本没到上游,
    reasoning_content 一直为空。现在原样透传 reasoning_effort / thinking / reasoning /
    enable_thinking / chat_template_kwargs(只转客户端真发了的字段,对不发的客户端零影响)。
  • 上游只认 reasoning_effort(直连实测):deepseek-v4-pro 0 → 34 个 reasoning token、
    deepseek-v4.1-flash 0 → 32、space-bunny 0 → 13;而 thinking(含 budget_tokens)
    与 enable_thinking 上游一律忽略。取值 minimal / low / medium / high / max / xhigh / none
    均可用;🔴 off 会返 400(11150)—— 「不思考」的正确做法是不发这个字段。

用第三方客户端(DSH 等)接本反代时,客户端侧还要声明推理能力,否则 UI 里不会出现档位。
写法见 API-PROXY.md 的「思考强度」小节。

文档

  • README 新增「架构」章节:四张交互式架构图(整体架构 / 反代请求生命周期 / 账号切换流程 /
    家目录缓存迁移),同步 v1.6.6 起的新增能力,并刷新界面截图。

升级方式

覆盖安装,或让应用自动更新(latest.json 已指向 1.6.7)。

v1.6.6

Choose a tag to compare

@github-actions github-actions released this 11 Oct 09:08

反代(本次重点)

  • 修国际版 11128 —— 国际版上游要求「第一条消息必须是 system」,否则整条请求被拦成
    {"code":11128,"msg":"first message is not system prompt"}。国内版没有这条约束。
    Codex++ 保存连接时的探针只发一条 user → 被拦成红叉(真实对话其实能通)。
    现在国际版入口会在最前面兜一条 system,被兜时响应头带
    x-wb-switch-degraded: leading-system。
  • extra_models 口径统一到三处 —— GET /v1/models、界面「获取模型ID」、版本校验放行。
    之前只并了 HTTP 路由,表现为「HTTP 那边 20 个、界面还是 19 个」。
    像国际版的 deepseek-v4.1-flash(实测可用,但不在上游列表里)就靠这一栏显式放行。

前端

  • 修「切侧边栏要卡一会儿」 —— 根因是每个页面挂载都重新拉一遍数据、且全程零缓存
    (页面是预加载 import,没有 lazy),而 token 统计要遍历会话目录、
    积分统计要解析几百 KB 快照、缓存迁移要扫整盘。
    现在:60 秒内命中直接返回;5 分钟内先给缓存让页面秒开、再后台刷新;
    用户显式点刷新时强制绕过缓存。

升级方式

覆盖安装,或让应用自动更新(latest.json 已指向 1.6.6)。

v1.6.2

Choose a tag to compare

@github-actions github-actions released this 10 Oct 15:25
v1.6.2:反代拆成国内版/国际版两个独立入口 + 修掉启动闪黑窗口

v1.5.0

Choose a tag to compare

@github-actions github-actions released this 08 Oct 13:25
v1.5.0:迁移计数修复 + 更新防护冻结层与自愈(含跨平台构建修复)

v1.0.20

Choose a tag to compare

@github-actions github-actions released this 08 Oct 09:39
v1.0.20:更新防护补上启动静默更新这一环

v1.0.19

Choose a tag to compare

@github-actions github-actions released this 08 Oct 09:06
v1.0.19:迁移源目录变动判定改用时间戳

v1.0.18

Choose a tag to compare

@github-actions github-actions released this 08 Oct 08:51
v1.0.18:更新防护页直接给结论

v1.0.17

Choose a tag to compare

@github-actions github-actions released this 08 Oct 08:23
v1.0.17:新增更新防护页,关掉两个版本的自动更新

v1.0.16

Choose a tag to compare

@github-actions github-actions released this 08 Oct 07:12
v1.0.16:目标已存在时说明增量补齐;修正本地 exe 版本标签