Function
isQuestionRejected
(cause: Cause.Cause<unknown>)
Source from the content-addressed store, hash-verified
| 142 | |
| 143 | // Match V1: dismissing a question halts the loop instead of becoming model-facing tool output. |
| 144 | const isQuestionRejected = (cause: Cause.Cause<unknown>) => |
| 145 | cause.reasons.some((reason) => Cause.isDieReason(reason) && reason.defect instanceof QuestionV2.RejectedError) |
| 146 | |
| 147 | type TurnTransition = |
| 148 | // Automatic compaction completed; rebuild the request from compacted history. |
Tested by
no test coverage detected