anomalyco / anomalyco/opencode
tools: websearch unexpectedly switches between Exa and Parallel providers
@jlongster is already working on this.
Since Jul 27, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Summary
The built-in websearch tool unexpectedly routed adjacent searches through different providers, showing one invocation as Exa Web Search and another as Parallel Web Search. No Exa, Parallel, or search-provider integration is configured by the user.
This makes built-in web-search behavior unpredictable and suggests that provider selection or tool routing is occurring without explicit configuration.
Environment
- opencode version:
opencode2 v0.0.0-next-16234 - OS:
Linux omarchy 7.1.4-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 18 Jul 2026 17:30:57 +0000 x86_64 GNU/Linux - Terminal:
TERM=xterm-256color,COLORTERM=truecolor,TERM_PROGRAMunset - Shell:
/usr/bin/bash - Install/channel: next
- Active plugins:
~/.opencode/plugins/graphify.js; no plugins configured in~/.config/opencode/opencode.json
Reproduction
- Start the OpenCode V2 TUI.
- Ask a documentation question that requires web research, such as:
are there now any docs on plugins for https://opencode.ai/v2/docs/build/plugins creating a ui plugin? something that accepts opentui or three.js or customizing look and feel of opencode? i.e. i want to maybe change how diff viewer looks? - Observe the web-search tool calls displayed in the TUI.
- In the reported session, one call appeared as
Exa Web Search, while the next appeared asParallel Web Search.
Expected Behavior
The built-in websearch capability should use the expected native search implementation consistently, or provider routing should be explicitly configured and clearly documented. It should not silently switch between third-party search providers across adjacent calls.
Actual Behavior
Two adjacent calls made through the built-in websearch tool were displayed with different implementations:
Exa Web Search "site:github.com/sst/opencode diff viewer TUI plugin UI customization OpenTUI"Parallel Web Search "site:github.com/sst/opencode plugins UI TUI custom diff viewer"
There is no Exa, Parallel, or search-provider configuration in the user's OpenCode configuration.
Additional Context
- A screenshot showing the two differently labeled calls is available.
- The behavior has been observed once; consistency is not yet known.
- No workaround has been tested.
~/.config/opencode/opencode.jsoncontains no search-provider or Exa/Parallel configuration.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.