You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 2544263
Browse filesBrowse the repository at this point in the historyBrowse files
fix(copilot): match a size refusal by its whole shape, not its prefix
isOversizedReadPlaceholder tested startsWith, so a real one-line file opening
with one of those prefixes was returned to the model as a tool error instead of
its contents. Every builder emits the same '(N bytes, limit M)]' tail, so
requiring the full shape costs nothing and makes an accidental collision
implausible. The pattern is built from the same prefix table, so it cannot drift
from the producers.
0 commit comments