github / github/copilot-sdk

Replay catalog omits the image capacity required by saved histories

オープン 初心者向け
#2,628 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
bug testing
主要言語
Java
スター
10.5k
フォーク
1.5k
平均マージ
1日 11時間
マージ済み PR(30日)
128

説明

## 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_

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start at the replay proxy's GET /models response and inspect how its fake catalog declares vision limits. Run the named SessionConfigE2ETests and SessionE2ETests attachment and vision scenarios, then confirm the catalog advertises capacity for two images while the saved histories, strict replay matching, and original assertions remain intact.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java
領域
api, testing
issue の種類
バグ
難易度
2/5
見積もり時間
1〜3時間
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
75/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。