Commit 50c7c78
committed
fix(copilot): match the oversized-image placeholder in the read-size gate
isOversizedReadPlaceholder tested for '[Image too large:', a prefix no code
emitted — the image path's only placeholder was '[Image unavailable:'. The new
source-cap placeholder is the first real one, so point the gate at it and fix
the synthetic string in the test to match what the reader actually returns.1 parent 1414bea commit 50c7c78
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
0 commit comments