Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#7,233 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
typescript
Lĩnh vực
backend

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
TypeScript
Star
2.1k
Fork
140
Merge trung bình
5 giờ 8 phút
Pull request đã merge (30 ngày)
952

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của coder/xum

Tất cả issue của coder/xum

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.