Make web research pull Wikipedia, retry failed pages, and match inflections - #47
Merged
Conversation
A 0.8B model cannot recover from a firewall page or a German noun that only appears inflected. Research now searches Wikipedia alongside the web, ranks candidates by snippet, replaces a blocked page from the remaining hits, and treats Bundeskanzler/Bundeskanzlers as one term. Co-authored-by: Sebastian <devbadya@users.noreply.github.com>
A live run of Wer ist der Bundeskanzler? quoted the etymology of Kanzler and never Friedrich Merz. The name sits in a one-line Amtsträger paragraph at the end of a 1,500-character lead; the length floor dropped it and condense preferred the definition at the start. Dated claims now join the paragraph they follow, and a dated lead is trimmed to a window that keeps the year. Co-authored-by: Sebastian <devbadya@users.noreply.github.com>
devbadya
marked this pull request as ready for review
August 31, 2026 10:42
cursor Bot
pushed a commit
that referenced
this pull request
Sep 3, 2026
Keep both sides of #47: Wikipedia alongside the web, retries, inflections, and the Amtsträger incumbent-line, plus leftover-question routing, query focusing, and Wikipedia short-description ranking. Co-authored-by: Sebastian <devbadya@users.noreply.github.com>
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.
A 0.8B model will not recover from a firewall page, a login wall, or a German noun that only appears inflected.
researchalready did the fan-out in code; this makes the pages it opens the ones that actually answer.What one call does now
download_pdfgalleries go last.lookup-termis unchanged — a name still does not need three sources.Eval
Who wrote Dune? and What's the population of Tokyo? already routed to
research-question; the scenarios now expectresearchrather thanweb_search.Verification
pnpm check— 1,210 tests.Live against the network (no GPU, so this is the tool, not the model):
The model itself is not exercised here: this environment has no GPU adapter. Whether the skill actually reaches
researchstill needs/?evalin Chrome on a real GPU.