Skip to content

Add recommended first option to AskUserAQuestion - #265

Open
sr07asthana wants to merge 7 commits into
mainfrom
sr-recommend-option
Open

Add recommended first option to AskUserAQuestion#265
sr07asthana wants to merge 7 commits into
mainfrom
sr-recommend-option

Conversation

@sr07asthana

@sr07asthana sr07asthana commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Summary

Closes #

Changes

How was this tested?

Checklist

  • pnpm build, pnpm test, pnpm typecheck, pnpm lint:ci, and pnpm format:check pass locally
  • Tests added/updated where it makes sense
  • No hand-edits to generated code (packages/sdk, .github/fern/openapi/openapi.json)
  • Docs / .env.example updated if configuration or behavior changed

Note

Low Risk
Documentation-only change to the AskUserQuestion tool description; no runtime behavior or API changes.

Overview
Updates the ask_user_question tool prompt so agents can highlight a default choice when context is clear.

A new rule tells the model to place the favored option first with the exact suffix (Recommended), and to leave options unmarked when nothing clearly stands out. An example block was added alongside the existing distinct/combined option examples.

No schema, handler, or client UI changes—only the tool description string agents see when calling the capability.

Reviewed by Cursor Bugbot for commit 2025087. Bugbot is set up for automated code reviews on this repo. Configure here.

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