Deferred review finding: quick/laneb/runner/proxy.ts:67 — The byte bound is not an upper bound for image and document bl
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 38/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- backend
Direzione di ricerca
Start with quick/laneb/runner/proxy.ts:67 and trace how the byte bound reserves tokens for OpenRouter requests and how image and document blocks are represented. Compare refusing those blocks with adding per-image and per-page token floors, including the batch cap. Done means OpenRouter media cannot exceed the reserve; check settlement's over_reserve flag for affected sessions.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Filed by /ship's pre-landing review of PR #25 (head 3b67e5fe5898). The finding is in code that PR did not change, so it was deferred here instead of being fixed there (review scope frozen after pass 1).
- Severity: CRITICAL
- Where:
quick/laneb/runner/proxy.ts:67 - Finding: The byte bound is not an upper bound for image and document blocks: compressed PDFs and low-entropy images cost far more tokens than their base64 bytes. Per the Captain's option C, #25 closes the Anthropic path (an uncounted request with media answers a retryable 529, count_failed_media). Still open: every OpenRouter request uses the byte bound, so a DeepSeek session that sends media can pass its cap, and the batch cap by the same overage.
- Suggested fix: OpenRouter route: refuse image and document blocks, or add per-image and per-page token floors to the byte bound, at the next preregistration. Until then the settle's over_reserve flag shows any session that passed its reserve.
- Found by: outside-voice
- Lingua principale
- TypeScript
- Stelle
- 5
- Fork
- 1
- Merge medio
- 3h 9m
- PR unite (30g)
- 407
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
nicobailon/pi-subagents#3420 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
openwatersio/slackwater.xyz#309 ·
I maintainer di solito rispondono entro 1 giorno
-
Mer utskriftsvennlig stylingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
navikt/nav-enonicxp-frontend#3122 ·
I maintainer di solito rispondono entro 1 giorno
-
complexity → simple frontend performance
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
opencollective/opencollective#9200 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno