Repository navigation
[PR] docs: README FAQ entry for the qoder-trae-workbuddy-switch quota gateway combo - #5381
ranxianglei wants to merge 1 commit into
Conversation
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.9042-pr.5381.a5a0d14This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr5381.tgz
npm install -g packageInstall instructions are refreshed on each push. |
(ai: vllm-qwen/qwen3.8-27b) 审核结论:可合并。 这是 #5193 兼容性分析收尾时明确列出、并经「ework 接单」确认执行的 FAQ 文档后续动作(不是重复立项)。我独立核对了 diff、en/zh 同步、事实准确性与 CI,没照抄 #5193 的结论。 核对要点:
结构化八问
判定:可合并。 文档质量达标、en/zh 同步、事实准确、diff 干净、相关 CI 门禁全绿。等 test 分片跑完即全绿;合并按仓库规则由 owner 执行(我不代合并)。合入后本 PR 关闭 #5193。 |
ranxianglei
left a comment
There was a problem hiding this comment.
(ai: vllm-qwen/qwen3.8-27b)
审查结论:可合并(APPROVE 等效) —— 纯文档新增。独立复核了 diff、en/zh 同步、事实核对(对照 #5193 源码级分析)与 CI,未照抄线程内既有结论。(GitHub 规则禁止 PR 作者账号经 API 正式自批,故以 review COMMENT 提交本结论。)
APPROVE — 纯文档新增。独立复核了 diff、en/zh 同步、事实核对(对照 #5193 源码级分析)与 CI,未照抄线程内既有结论。
独立核对要点:
- diff:仅
README.md(+18) /README.zh-CN.md(+2),纯新增(0 删除)。条目各紧挨既有 magpie FAQ 条目之后插入(README.md:437/README.zh-CN.md:303)、下一节标题之前;无跑题文件、无空白重排、无 lockfile/生成物变更。 - en/zh 真同步:接法(
/bili/前缀、/v1=OpenAI 线 / 去/v1=Anthropic 线 + sk-* key)、端口表(57891 WorkBuddy / 57892 统一 / 57894 Trae / 57895 Qoder)、四条注意事项、回指 #5193——两侧逐条对应,无遗漏、无超出分析的新主张。EN 多行折行 / ZH 单行长段+全角标点,各自与所在文件的相邻 magpie 条目写法一致。 - 事实核对:四条坑与 #5193 代码级分析逐点吻合(①粘性键只从 body
metadata.conversation_id取、不读任何头 → Claude Code/Codex 无粘性、跨轮 prefix cache ≈ 0,列出三种绕行;②统一网关裸模型名 → 400,用models.<name>.context声明窗口 #2317;③Qoder 车道上游恒报 0 token → 用量统计退化但压缩走本地 tokenize 不受影响;④会话中途换号使 provider 前缀缓存失效且对 KEY SWITCHES 归因不可见)。端口表与分析一致。 - 无索引回归:两份 README 的 FAQ 均只有节标题、无逐项索引(顶部锚点只指向节不指向项)→ 无需别处更新。
- 惯例:分支名
2026-11-01_faq-buddy-switch-gateway符合YYYY-MM-DD_short-title;commitdocs:前缀;分支基于当前 master tip;version未动;未触碰kernel/、零代码变更、无新配置面(只引用既有providers.<key>.models声明)→ 不触发任何授权门禁。 - CI(镜像缓存 @
59b67ec):30 项检查 0 失败 0 待跑——ubuntu/windows × node 22/24 全部 test 分片绿,static-gates / mysql-contract / test-import-graph / version-guard / docs-sync / docs-coverage 绿;真实客户端 e2e 车道按默认门控 skip(docs PR 预期行为)。merge state blocked 是待 owner 批准所致,非检查失败。
结构化八问:
- 是什么问题:给 bili × qoder-trae-workbuddy-switch 配额网关组合补一条 README FAQ(en+zh),讲清接法与四个坑。
- 什么原因导致的:#5193 兼容性分析收尾时明确提出可选 docs PR,owner 接单确认执行——本 PR 即该动作,不是新需求。
- 影响范围与严重程度:纯文档新增,零代码零行为变更,无用户面/触发面影响。
- 怎么修复的:仿现有 magpie FAQ 条目结构,在两份 README 各追加一条同构条目,细节回指 #5193。
- 是否有回归问题:审过触碰路径承担的既有行为——FAQ 节渲染与导航(无逐项索引,不受影响)、en/zh 文档同步门禁(docs-sync/docs-coverage 绿)、接法描述与既有 magpie 条目的一致性(相符)。只增不改(0 删除),未破坏任何既有行为/配置/wire/格式。
- 是否破坏缓存:不涉及(文档未改任何缓存/重试/失效策略)。
- 是否改了设计方向:不涉及。
- 是否引入了新的配置:不涉及——条目只引用既有条目(网关选号模式、bili
models.<name>.context声明),无新 config/env/CLI 面。
判定:可合并。 合并按仓库规则由 owner 执行;合入后本 PR 关闭 #5193。
…ment PFA assertion fails
…way combo Connection recipe (same /bili/ prefix pattern as magpie) plus the four load-bearing caveats from #5193: stickiness keys off body metadata.conversation_id only (no header fallback), namespaced model names need providers window declarations, Qoder lane reports zero token usage upstream, mid-conversation account switches are invisible to KEY SWITCHES attribution. en + zh kept in sync.
59b67ec to
0c5190c
Compare
(ai: vllm-qwen/qwen3.8-27b) 查重: 不重复 — 本单是既有已审 PR #5381 的冲突处置(同签名无其他 open/closed 条目)。 Conflict resolution. Rebased the single-commit docs branch onto master@ Live state (verified this run, single reads). PR open, CI on the new head. 48 checks completed: 35 success / 12 skipped / 1 failure = 八问(中文)
判定:冲突已解、净 diff 未变、重跑判决在途——重跑转绿后 owner 可直接合并(§7.4 人工合并档)。 |
[ework] auto-fix stalled: test (windows-latest, 22, 4), test (ubuntu-latest, 24, 2), test (ubuntu-latest, 22, 2) — stopping for human review |
1 similar comment
[ework] auto-fix stalled: test (windows-latest, 22, 4), test (ubuntu-latest, 24, 2), test (ubuntu-latest, 22, 2) — stopping for human review |
Closes #5193
Adds a README FAQ entry (en + zh, kept in sync) documenting how to combine bili with the qoder-trae-workbuddy-switch quota gateway — same
/bili/<abs-url>prefix pattern as the existing magpie entry, plus the four load-bearing caveats from the #5193 code-level analysis of that gateway:metadata.conversation_idONLY (no header fallback) — clients that don't write it (Claude Code, Codex) get a per-request account draw from the pool and each vendor account keeps its own prefix cache, so cross-turn prefix-cache hits ≈ 0; workarounds listed (client that writes the field, Sequential pick mode, single-account allowlist).<ns>:<model>(bare → 400) — declare their context windows under the providers key viamodels.<name>.context(Provider route miss silently drops per-model context override; 502 error then advises setting the already-set compress.modelContextLimit #2317).Docs only — no code changes.