Repository navigation
bug_fix(browsecomp): default exa_search_writes_pages to True - #3499
Merged
Merged
Conversation
The `search` tool description and the system prompt both tell the model that
results are saved to pages/<idx>_search_*.txt, with a [Saved to] path it can
read through bash_command. The tavily path does that. The exa path only did it
when a run set exa_search_writes_pages, and the flag defaulted to False, so by
default the exa prompt described behaviour the harness did not implement:
across 1,239 exa search outputs in a reference run, zero contained
"[Saved to]". The workspace affordance covered `browse` alone, and the model
was left with highlight snippets only.
Opting in is easy to miss, and a reader of the prompt cannot tell which way a
run was configured, so the default is the wrong way round. Flip it.
Asking exa for text is not a dollar cost. Measured live against the API,
costDollars is identical with and without text —
{"total": 0.007, "search": {"neural": 0.007}} — because exa bills per query,
not per result. It does cost response size and latency: roughly 243k
characters per 10-result query against roughly 19k for highlights alone, full
text being 2.9-12.9x the highlight text. A run that wants the smaller response
can still set exa_search_writes_pages=False, which is now covered by tests.
Tests: the two cases that pinned the old default now assert the new one, and
the opt-out has its own cases. 186 pass in
resources_servers/browsecomp_advanced_harness/tests.
Signed-off-by: Ritu Gala <[email protected]>
bxyu-nvidia
approved these changes
Sep 17, 2026
ritugala
enabled auto-merge
September 17, 2026 19:32
bxyu-nvidia
disabled auto-merge
September 17, 2026 20:37
This branch was previously deployed
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.
The
searchtool description and the system prompt both tell the model that results are saved to pages/search*.txt, with a [Saved to] path it can read through bash_command. The tavily path does that. The exa path only did it when a run set exa_search_writes_pages, and the flag defaulted to False, so by default the exa prompt described behaviour the harness did not implement: across 1,239 exa search outputs in a reference run, zero contained "[Saved to]". The workspace affordance coveredbrowsealone, and the model was left with highlight snippets only.Opting in is easy to miss, and a reader of the prompt cannot tell which way a run was configured, so the default is the wrong way round. Flip it.
Tests: the two cases that pinned the old default now assert the new one, and the opt-out has its own cases. 186 pass in
resources_servers/browsecomp_advanced_harness/tests.
What does this PR do?
Validation
Rollouts
Compatibility and benchmark impact
Checklist
pre-commit run --all-files) (so CI lint/format checks pass).git commit -s) (so the DCO check passes).