Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#7,233 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript
領域
backend

調査の方向性

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.

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

説明

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

主要言語
TypeScript
スター
2.1k
フォーク
140
平均マージ
4時間 57分
マージ済み PR(30日)
946

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

coder/xum のほかの issue

coder/xum の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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