Repository navigation
Commit 2191ca8
committed
docs: B1.2 实测取消(reasoning 本已透传)+ 补 reasoning 上游事实
原计划要给「强制推理模型族」注入 thinking/reasoning_effort 并回填历史
reasoning_content。本机有活网关 + 真实凭证 + 71 份真实请求 dump,实测后
发现三条前提全部不成立,故跳过 B1.2、不改任何代码;只把实测结论落文档。
实测证据:
- 客户端已自带 reasoning_effort(69/71 dump,值仅 low/medium;非推理模型
如 hy3 不带)。网关原样透传,CB 与 TRAE 均 200 正常出流,TRAE 侧
reasoning_tokens 有值(qwen-3.7-plus 单请求 6~114)。无「档位映射」需求。
- 客户端已回传历史 reasoning_content(51/71,含与 tool_calls 同存的消息),
网关未剥离、上游接受:CB deepseek-v4.1-flash 4260 次请求 99.6% 成功。
无「客户端丢弃需回填」场景。
- 原计划默认清单(deepseek-v4-pro/glm-5.1 等)与实际在用模型对不上,
且 glm-5.1 在 MODEL_BLOCKLIST 中,硬编码白名单在 CB 侧空转。
- 「客户端丢弃时回填」必须服务端存对话内容,与 §8 脱敏纪律冲突,不做。
- 参考实现 IceeAn/codebuddy2api 走相反取向(白名单模型强制
reasoning_effort=max 覆盖客户端),属单来源且改写客户端意图,不采纳。
文档:
- PROPOSAL §3.1/§3.2:补 reasoning 字段透传事实;CB reasoning_tokens 恒 0
的上游口径差异;TRAE 接受 reasoning_effort。
- TECHNICAL §9:记录取消理由与参考实现差异。
- 计划文档 B1.2 节改为「实测取消」并保留原文备查;依赖与风险表同步
(B2.1 不依赖 B1.2)。
质量门槛:ruff 通过;1051 测试通过,行/分支 100% 覆盖。1 parent 15e7a47 commit 2191ca8
2 files changed
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
80 | 82 | | |
| |||
91 | 93 | | |
92 | 94 | | |
93 | 95 | | |
| 96 | + | |
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
527 | 527 | | |
528 | 528 | | |
529 | 529 | | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
530 | 538 | | |
531 | 539 | | |
532 | 540 | | |
| |||
0 commit comments