Skip to content

fix(honcho): reject whitespace-only tool queries#11192

Closed
0xKingBack wants to merge 1 commit into
NousResearch:mainfrom
0xKingBack:fix/honcho-query-whitespace
Closed

fix(honcho): reject whitespace-only tool queries#11192
0xKingBack wants to merge 1 commit into
NousResearch:mainfrom
0xKingBack:fix/honcho-query-whitespace

Conversation

@0xKingBack

Copy link
Copy Markdown
Contributor

Summary

  • normalize honcho_search and honcho_reasoning query inputs with strip() before validation
  • reject whitespace-only query as missing required parameter to match existing honcho_conclude input hygiene
  • add regression tests for whitespace-only query in both tool paths

Test plan

  • python -m pytest tests/honcho_plugin/test_session.py -q -o addopts=

Normalize honcho_search and honcho_reasoning query inputs with strip() so whitespace-only values fail fast as missing required parameters, matching conclude input hygiene.

Made-with: Cursor
fjlaowan1983 added a commit to fjlaowan1983/hermes-agent that referenced this pull request Apr 16, 2026
Strip query before validation; add regression tests (aligns upstream NousResearch#11192).

Made-with: Cursor
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/plugins Plugin system and bundled plugins labels Apr 25, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #11256 — same fix: reject whitespace-only query in honcho_search and honcho_reasoning.

@0xKingBack

Copy link
Copy Markdown
Contributor Author

Thanks for the heads up, @alt-glitch! I just noticed #11256 covers the same edge cases for Honcho queries and even includes slightly more comprehensive validation. To keep the PR queue clean, I'll close this one in favor of #11256. Cheers

@0xKingBack 0xKingBack closed this Apr 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/plugins Plugin system and bundled plugins P3 Low — cosmetic, nice to have type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants