Repository navigation
Fix durable research failing before it produces a report - #683
Merged
Merged
Conversation
Contributor
|
Droid encountered an error —— View job |
1 similar comment
Contributor
|
Droid encountered an error —— View job |
magnus919
marked this pull request as draft
October 16, 2026 20:07
magnus919
marked this pull request as ready for review
October 16, 2026 20:07
magnus919
marked this pull request as draft
October 17, 2026 00:02
magnus919
marked this pull request as ready for review
October 17, 2026 00:02
Contributor
|
Droid finished @magnus919's task —— View job The candidate set contains no inline findings to validate. The full diff contains bounded evidence selection, preserved line references, citation checks against presented excerpts, and policy-version-specific budgets, with legacy replay behavior unchanged. 0 inline comments posted |
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.
What changes
Durable research could finish searching and collecting sources, then fail without producing a report. Its construction request allowed only 2,048 output tokens even when the deployment allowed more. In the reproduced failure, the model used that entire allowance for reasoning and returned no answer.
New research runs now use the configured completion allowance, capped at 8,192 tokens. They also select relevant passages before constructing the answer, so the model does not have to process every captured page in full. Captured sources remain available in full, and citations are checked against the passages actually shown to the model.
Older saved runs keep their original request format so recovery can reuse their recorded responses. This change does not retry calls whose outcome is unknown.
Validation
A separate real-model confirmation over the eight already captured sources completed construction, review and all three reports in 132.8 seconds using two calls. No searches were repeated. An earlier attempt timed out at 90.1 seconds and is retained as a failed observation; the successful run does not establish consistent latency. The deployment remains unchanged.