Skip to content

Add optional default field to free response#6960

Merged
Aaron1011 merged 3 commits intomainfrom
alan/add-default-field-to-free-response
Mar 17, 2026
Merged

Add optional default field to free response#6960
Aaron1011 merged 3 commits intomainfrom
alan/add-default-field-to-free-response

Conversation

@amishler
Copy link
Copy Markdown
Member

@amishler amishler commented Mar 17, 2026

  • Enables pre-filling a free response question with a given text, which the user can edit or submit as is.
  • The initial question state is AnsweredFreeResponse if the default is present, in case the user submits without editing.

Note

Low Risk
Adds an optional default_value to free-response question payloads and initializes UI state from it; changes are localized and backwards-compatible, with low risk aside from potential type/serialization mismatches for consumers.

Overview
Enables free-response user questions to include an optional pre-filled answer via a new FreeResponseQuestion.default_value field.

Updates the Rust wire types and regenerated TS bindings so free_response questions carry this optional data, and adjusts the Autopilot UI question-card state to pre-populate and mark steps as AnsweredFreeResponse when a default is provided.

Written by Cursor Bugbot for commit d575d93. This will update automatically on new commits. Configure here.

@amishler amishler marked this pull request as ready for review March 17, 2026 15:08
@amishler amishler requested a review from virajmehta as a code owner March 17, 2026 15:08
virajmehta
virajmehta previously approved these changes Mar 17, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: adc2caf1b2

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@virajmehta virajmehta added this pull request to the merge queue Mar 17, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Mar 17, 2026
@Aaron1011 Aaron1011 added this pull request to the merge queue Mar 17, 2026
Merged via the queue into main with commit edb08a2 Mar 17, 2026
77 checks passed
@Aaron1011 Aaron1011 deleted the alan/add-default-field-to-free-response branch March 17, 2026 17:55
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.

3 participants