Skip to content

bug_fix(browsecomp): default exa_search_writes_pages to True - #3499

Merged
bxyu-nvidia merged 1 commit into
mainfrom
ritu/exa-search-writes-pages-default-on
Sep 17, 2026
Merged

bxyu-nvidia merged 1 commit into
mainfrom
ritu/exa-search-writes-pages-default-on

Conversation

@ritugala

Copy link
Copy Markdown
Contributor

The search tool 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 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.

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

  • I have read the contributing guidelines.
  • The change is focused; unrelated "drive-by" edits are tracked as separate issues/PRs.
  • Tests added or updated and pass locally, or N/A for docs-only / non-code changes (so CI unit/server checks pass when applicable).
  • Documentation added or updated, or N/A with justification.
  • Pre-commit checks pass locally (pre-commit run --all-files) (so CI lint/format checks pass).
  • New source files include the required Apache-2.0 SPDX header.
  • All commits have DCO sign-off (git commit -s) (so the DCO check passes).

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]>
@copy-pr-bot

copy-pr-bot Bot commented Sep 17, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@ritugala
ritugala enabled auto-merge September 17, 2026 19:32
@yaoyu-33 yaoyu-33 added area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers bug Something isn't working complexity:low Localized change in one scope with a small, straightforward review surface needs-review PR is ready for code review and waiting on a reviewer ready-to-merge PR is approved, current, and waiting for final CI or merge and removed needs-review PR is ready for code review and waiting on a reviewer labels Sep 17, 2026
@bxyu-nvidia
bxyu-nvidia merged commit 0a28724 into main Sep 17, 2026
26 checks passed
@bxyu-nvidia
bxyu-nvidia deleted the ritu/exa-search-writes-pages-default-on branch September 17, 2026 20:37

This branch was previously deployed

1 inactive deployment
public — d4e778d4 Deployed Sep 17, 2026 by ritugala via release / finalize / notify #3126
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:environment Individual environments, benchmarks, verifiers, and environment-specific resources servers bug Something isn't working complexity:low Localized change in one scope with a small, straightforward review surface ready-to-merge PR is approved, current, and waiting for final CI or merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants