Skip to content

revert(web): remove keyless Parallel search fallback - #46350

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-e3557678
Jun 14, 2026
Merged

revert(web): remove keyless Parallel search fallback#46350
teknium1 merged 1 commit into
mainfrom
hermes/hermes-e3557678

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Summary

Remove the keyless Parallel Search MCP fallback so Parallel web search/extract requires PARALLEL_API_KEY again.

Changes

  • Restores the pre-keyless Parallel provider implementation and parallel-web==0.4.2 pin.
  • Removes keyless MCP transport, attribution, and “Parallel search/fetch” display labeling.
  • Restores web setup prompting to require explicit configuration again.
  • Deletes keyless Parallel fallback regression tests.

Validation

Check Result
Targeted web/display/tools tests 290 passed, 0 failed

Command: scripts/run_tests.sh tests/tools/test_web_tools_config.py tests/tools/test_web_providers.py tests/tools/test_web_providers_ddgs.py tests/tools/test_web_providers_searxng.py tests/plugins/web/test_web_search_provider_plugins.py tests/agent/test_display.py tests/hermes_cli/test_tools_config.py

Infographic

Hermes Web Search Rollback

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
@teknium1
teknium1 requested a review from a team June 14, 2026 23:37
@github-actions

Copy link
Copy Markdown
Contributor

🔎 Lint report: hermes/hermes-e3557678 vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 10902 on HEAD, 10907 on base (✅ -5)

🆕 New issues: none

✅ Fixed issues (5):

Rule Count
unresolved-import 3
invalid-assignment 2
First entries
tests/plugins/web/test_parallel_keyless_mcp.py:19: [unresolved-import] unresolved-import: Cannot resolve imported module `pytest`
tools/web_tools.py:1295: [invalid-assignment] invalid-assignment: Invalid subscript assignment with key of type `Literal["provider"]` and value of type `Literal["parallel"]` on object of type `dict[str, list[dict[str | Unknown, Unknown]]]`
tests/tools/test_web_keyless_default_fallback.py:21: [unresolved-import] unresolved-import: Cannot resolve imported module `pytest`
plugins/web/parallel/provider.py:48: [unresolved-import] unresolved-import: Cannot resolve imported module `httpx`
tools/web_tools.py:1296: [invalid-assignment] invalid-assignment: Invalid subscript assignment with key of type `Literal["attribution"]` and value of type `Literal["Extraction powered by the free Parallel Web Search MCP (https://parallel.ai)."]` on object of type `dict[str, list[dict[str | Unknown, Unknown]]]`

Unchanged: 5734 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@teknium1
teknium1 merged commit f3fe998 into main Jun 14, 2026
32 checks passed
@teknium1
teknium1 deleted the hermes/hermes-e3557678 branch June 14, 2026 23:47
alanbratu pushed a commit to alanbratu/hermes-agent that referenced this pull request Jun 17, 2026
)

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
T02200059 pushed a commit to T02200059/hermes-agent that referenced this pull request Jun 18, 2026
)

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
Icather added a commit to Icather/hermes-agent that referenced this pull request Jun 26, 2026
…u-baidu, serpapi, jina, google-cse, sogou, 360-search)

v0.17 removed the Parallel free MCP fallback (NousResearch#46350), sharply reducing free search options. This adds 9 new providers as plugins following the existing brave-free/ddgs pattern, registered in backend_candidates in composite quality-score order after the existing backends.

New functional providers (search-only):
- serper      — Google SERP, 2,500 free queries, no credit card
- baidu       — Baidu AI Search, 100/day free, native Chinese content
- bocha       — Chinese market leader, 1,000 free starter queries
- qiniu-baidu — Qiniu Cloud Baidu, 3M tokens for new users
- serpapi     — Multi-engine, 100/month free
- jina        — Full-page extraction, 10M tokens free (blocked in China)
- google-cse  — Google Custom Search, 100/day (blocked in China)

Registry-only entries (no public API, listed for completeness):
- sogou, 360-search

Two prior attempts (NousResearch#41015 Serper by ViezeVingertjes, NousResearch#35690 fallback by jonathanwxh-cell) were self-closed without review. This salages their approach with a complete provider surface covering both Western and Chinese search engines.

Changes:
- plugins/web/*/ — 27 new files (provider.py, plugin.yaml, __init__.py per backend)
- tools/web_tools.py — +9 entries in _KNOWN_WEB_BACKENDS set, +9 in backend_candidates tuple, +_check_provider_available() helper, generic plugin probe in _is_backend_available()
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
)

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
Methodician added a commit to Methodician/hermes-agent that referenced this pull request Jul 4, 2026
)

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
habarmc1223-sudo pushed a commit to habarmc1223-sudo/hermes-agent-fluxmem that referenced this pull request Jul 8, 2026
)

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
santhreal pushed a commit to santhreal/hermes-agent that referenced this pull request Jul 13, 2026
)

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
Gravezzz pushed a commit to Gravezzz/hermes-agent that referenced this pull request Jul 21, 2026
)

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
leewenjie pushed a commit to leewenjie/hermes-agent that referenced this pull request Aug 7, 2026
)

Remove the free Parallel Search MCP path and restore the keyed Parallel backend behavior from before it was introduced.

Also drops the keyless fallback registration/display labeling tests and returns the Parallel SDK pin to the prior version.
@alexferrari88

Copy link
Copy Markdown
Contributor

Follow-up: this rollback correctly removed keyless/default behavior but also restored the beta SDK path and 0.4.2 pin. #89764 documents the narrow regression; #89766 repairs only keyed GA/v1 support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants