Repository navigation
[PR] docs: document omp advisor session-isolation workaround (#5567) - #5568
ranxianglei wants to merge 2 commits into
Conversation
📦 Built Package ArtifactBranch: Latest build — install this exact versionnpm install -g billion-context@0.0.7929-pr.5568.2d3e612This exact version is immutable and reproducible. The rolling Recent builds (commit → version)
Download artifact
tar xzf billion-context-pr5568.tgz
npm install -g packageInstall instructions are refreshed on each push. |
(ai: vllm-qwen/qwen3.8-27b) 查重: 不重复 —— 检索 open+closed issue/PR(近 7 天为主,按主题与失败签名):本 PR 是 #5567 🔶 决策申请里选项 C(文档化配置绕行)的唯一交付;同家族的 #4897/#4903(一次性旁路回合消耗 nudge/自愈预算——预算饥饿、可恢复)与 #5078(出站 PCK 控制面)症状和机制均不同;没有其他 PR 在写同一份 omp advisor 隔离文档。 标签: pr / omp / scope/docs / p3 —— 文档 PR(非缺陷类,不打 bug);涉及客户端 omp;领域文档面;严重度 p3(文档条目)。 初审发现(先报结论,再动手)diff 极小且干净:两个 README 各加一段,分支基于当前 master 但有一处硬伤要修:新段落引用了 #5569——该编号在 GitHub 上不存在(API 实测 404), 按「小问题直接修」纪律处理:我会在 PR 分支补一个独立标注 commit,把 en+zh 共 4 处 #5569 改为 #5567,然后给出八问终审结论。 CI 快照(head |
(ai: vllm-qwen/qwen3.8-27b) 终审结论(PR #5568)方向关(审原 issue):#5567 🔶 决策申请的选项 C(文档化验证过的配置绕行),PR 交付范围与 C 严格一致——只写文档、不碰代码、不碰 bili 配置面、不碰 wire,没有夹带根治动作(A/B/D 继续挂在 #5567 等拍板)。 回归关:既有行为清点——README en/zh 的 omp identity 一节;新段落插在「omp caveat (#2583/#3556)」段之后、「无 header 客户端」段之前,位置与主题一致;en/zh 两段互译逐项对齐(机制、边界、验证方法一一对应);零代码变更,不存在行为/阈值/时序/输出格式漂移面。 代码关(逐句事实核对):
发现并已修(小问题直接修):段落引用了 GitHub 上不存在的 #5569(API 实测 404,死链)——是 e-work 内部镜像号被误当 GitHub issue 号写进了公开文档(GH #5567 ↔ 镜像 #5569)。已在 PR 分支补独立标注 commit 测试关:纯文档无行为面可钉;en/zh 同步由 CI 的 diff 整洁度:单线提交、每行都与本 PR 目的相关,无跑题文件/生成物/空白噪音;我的修复是第二个独立标注 commit,同样收敛。 CI:旧 head 结构化八问
收工判定:审查通过——内容属实、范围干净、死链已修;待新 head |
(ai: vllm-qwen/qwen3.8-27b) 专职 reviewer 独立终审(GitHub PR #5568 / head
|
|
(ai: sglang-gpu0/qwen3.8-27b) |
Refs #5567 — deliberately NOT
Closes: the issue stays open pending the owner's decision on the root-fix options (A/B/D, see the 🔶 decision-request comment on the issue thread). This PR delivers option C only.What this PR does
Documents, in the omp identity section of both README languages, the verified workaround that isolates omp's persistent advisor stream from the main session:
providers:section ofmodels.yml), setcompat.supportsPromptCacheKey: trueon the advisor's provider entry → pi-ai serializes the advisor's own session UUID asprompt_cache_key→ bili binds it onto its own session instead of the main one.Flag shape verified by the reporter against the installed ModelsConfigFile loader (
status=ok,unknownKeys=[]) plus live SSE captures (advisor's own UUID passed through verbatim) — details in the issue thread.Behavior changes
None. Docs only — one paragraph per README language. No bili code change, no bili config-surface change (the documented key is an OMP/pi-ai-side model-registry field, not a billion-context config item), no wire change.