Skip to content

feat(retrieval): switchable agent_explore Cursor model - #424

Merged
EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/agent-explore-cursor-model
Sep 17, 2026
Merged

EricNGOntos merged 1 commit into
mainfrom
feat/wuchengke/agent-explore-cursor-model

Conversation

@EricNGOntos

Copy link
Copy Markdown
Contributor

Summary

  • Retrieval query can pass agent_explore_model so Cursor explore uses that model for this request; omit it and the current server default stays.
  • Cache key includes the model so two models do not share one result.
  • Also lands the tool-call fixes: pattern/patterns, loop-contract dependency rule, and node_filter argument wording.

Test plan

  • make check
  • focused tests: harness resolve, grep, cache digest
  • After merge/deploy: POST /api/v1/retrieval/query with use_agentic=true and agent_explore_model set; confirm decision_trace / model in the episode uses the requested name

Made with Cursor

Stop empty grep/node_filter calls from a mismatched schema and loop contract, and pass an optional model name through the query so evals can switch Cursor models without a redeploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
@EricNGOntos
EricNGOntos merged commit 9c124d4 into main Sep 17, 2026
6 checks passed
@EricNGOntos
EricNGOntos deleted the feat/wuchengke/agent-explore-cursor-model branch September 17, 2026 04:16
@EricNGOntos EricNGOntos mentioned this pull request Sep 17, 2026
2 tasks
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