Skip to content

fix: omit Knowledge.search useAgentic for map-nav default - #124

Merged
EricNGOntos merged 2 commits into
mainfrom
feat/wuchengke/knowledge-default-mapnav
Aug 11, 2026
Merged

fix: omit Knowledge.search useAgentic for map-nav default#124
EricNGOntos merged 2 commits into
mainfrom
feat/wuchengke/knowledge-default-mapnav

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • Stop coercing useAgentic with ?? false in Knowledge.search.
  • Omitting the field lets the API default to map-nav; explicit false still selects classic.

Test plan

  • Unit test: unset useAgentic sends undefined / omits coercion to false
  • Unit test: explicit useAgentic: true|false still forwarded

Made with Cursor

EricNGOntos and others added 2 commits August 11, 2026 15:51
Stop coercing undefined to false, which forced classic retrieval for the
Knowledge helper while the retrieval API defaults to map-nav.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@EricNGOntos
EricNGOntos merged commit 2276c77 into main Aug 11, 2026
4 checks passed
@EricNGOntos
EricNGOntos deleted the feat/wuchengke/knowledge-default-mapnav branch August 11, 2026 08:06
@github-actions github-actions Bot mentioned this pull request Aug 11, 2026
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.

1 participant