Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

🤖 perf: keep the source model's remaining refusal chain across a Token Budget fallback handover

Aperta
#7,233 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
typescript
Ambito
backend

Direzione di ricerca

Read the refusal-fallback and Token Budget continuation paths, including ContinuationEntry, TurnRequestBuilder, and the Continue send options; the issue does not name their files or tests. Trace how the source model’s remaining chain reaches the handover, then check that the Continue send uses that chain and advances to C if B refuses.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Follow-up from #7231 (Codex thread PRRT_kwDOPxxmWM6vYWeM).

Problem

A refusal fallback whose request reaches a Token Budget stage hands the turn over to a "Continue" on the fallback model (#7231). That Continue is a new send on the fallback model B, so TurnRequestBuilder resolves B's own configured refusal chain. When the source model A has an ordered chain such as [B, C] and B refuses the Continue, the turn uses B's chain (often empty) instead of advancing to C. With the usual configuration the Continue then fails terminally, although A's chain still had an unused fallback.

Proposed fix

Carry the unused part of A's chain ([C]) across the handover: on the continuation entry and on the Continue's send options, and use it in place of B's resolved chain for that one send. This needs new in-memory state on ContinuationEntry and the send path, which is why #7231 did not include it.

Trigger

Next change to the refusal-fallback or Token Budget continuation path. Owner: the #5286 lane.


Generated with xum • Model: anthropic:claude-opus-5-5 • Thinking: high • Cost: $510.33

Lingua principale
TypeScript
Stelle
2.1k
Fork
140
Merge medio
5h 8m
PR unite (30g)
952

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di coder/xum

Tutte le issue di coder/xum

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.