Repository navigation
fix: モデル混雑時に子エージェントが次の利用可能なモデルへ切り替わるよう修正 - #3
Merged
Merged
Conversation
|
✅ Deterministic PR hygiene checks passed. |
mashfromband
marked this pull request as ready for review
October 14, 2026 16:59
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
混雑エラーを受けた子エージェントが同じモデルを選び続ける不具合を修正します。正規の混雑文を過負荷に分類し、既存の60秒停止と設定済みの切替候補を使います。
ネイティブHTTPの503は既存の有限再試行の後に記録します。ストリームの終端エラーも記録し、次の要求で別モデルを選べるようにします。出力済みストリームは再送しません。認証・権限・キャンセル・ポリシー拒否の優先順位とPoolのアカウント境界を保ちます。混雑を利用枠の消費とは扱いません。
CIで失敗したリセットクレジット検査も修正しました。処理日時と履歴削除の時計をそろえ、再起動後の要求IDと処理済み履歴を保持します。送信前の保存、保持期限、未確定要求の維持を検査します。
Verification
Checklist
このdevへの統合は、実際のリポジトリ所有者の直接指示に基づくAI担当の通常統合です。GitHub APIで担当のadmin/maintain権限、base=dev、固定HEADの全CI成功、未解消の変更要求0件を確認しました。固定HEADを指定した通常のsquash mergeを使います。