Replay catalog omits the image capacity required by saved histories
还没有人认领这个 Issue。
评估
调研方向
从 replay proxy 的 GET /models 响应开始,检查其 fake catalog 如何声明 vision 限制。运行指定的 SessionConfigE2ETests 和 SessionE2ETests attachment 与 vision 场景,然后确认 catalog 宣布支持两张图像的容量,同时保存的历史记录、严格的 replay matching 和原始 assertions 均保持不变。
由索引模型根据 Issue 内容生成。
描述
Problem
The replay proxy's GET /models response advertises vision support but does not declare capabilities.limits.vision.max_prompt_images. Saved image conversations can require two image-bearing messages: an attached blob and a subsequent image-view result.
When a runtime applies a one-image fallback for the omitted capability, these histories no longer match the strict replay snapshots. The proxy reports a missing cached response rather than completing the attachment or model-vision scenario.
Affected scenarios include both SessionConfigE2ETests.Should_Accept_Blob_Attachments and SessionE2ETests.Should_Accept_Blob_Attachments, plus SessionConfigE2ETests.Vision_Disabled_Then_Enabled_Via_SetModel.
Expected behavior
The fake catalog should explicitly support the image capacity required by its recorded conversations. Keep the original attachment and vision assertions, saved histories, and strict replay matching intact.
An explicit two-image capacity resolves these scenarios. A harness-only fix and HTTP endpoint regression coverage are prepared; no product change or retry is needed.
Generated by Copilot
- 主要语言
- Java
- 星标
- 10.5k
- 派生
- 1.5k
- 平均合并
- 1 天 12 小时
- 30 天内合并 PR
- 133
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/copilot-sdk 的其他 Issue
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
github/copilot-sdk#2709 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 78/100
github/copilot-sdk#2673 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 68/100
github/copilot-sdk#2627 · 1 条评论 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 74/100
github/copilot-sdk#2493 ·
-
agentic-workflows
难度 2/5 1-3 小时 新手友好度 78/100
github/copilot-sdk#2489 ·
查看 github/copilot-sdk 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 82/100
infinispan/infinispan#18150 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
-
untriaged
难度 2/5 1-3 小时 新手友好度 82/100
opensearch-project/k-NN#3597 ·
-
bug
难度 2/5 1-3 小时 新手友好度 88/100
-
bug
难度 2/5 1-3 小时 新手友好度 82/100