-
Notifications
You must be signed in to change notification settings - Fork 2.6k
feat: add option to disable follow-up questions from LLM #6941
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,4 +5,5 @@ export interface SystemPromptSettings { | |
| maxConcurrentFileReads: number | ||
| todoListEnabled: boolean | ||
| useAgentRules: boolean | ||
| alwaysAllowFollowupQuestions: boolean | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Consider adding a comment about backward compatibility here. Since this adds a new required property to the interface, existing saved states might not have it. While the code defaults to |
||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -172,7 +172,7 @@ | |
| }, | ||
| "followupQuestions": { | ||
| "label": "Question", | ||
| "description": "Automatically select the first suggested answer for follow-up questions after the configured timeout", | ||
| "description": "Allow the AI to ask follow-up questions. When disabled, the AI will not have access to the question-asking tool and must proceed without clarification", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Missing internationalization for other locales - all other locale files (fr, de, es, ca, hi, id, it, ja, ko, nl, pl, pt-BR, ru, tr, vi, zh-CN, zh-TW) still have the old description for the follow-up questions setting. Could we update those as well to avoid confusion for non-English users? |
||
| "timeoutLabel": "Time to wait before auto-selecting the first answer" | ||
| }, | ||
| "execute": { | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This implementation looks good! The tool is properly excluded when the setting is disabled. Consider adding a specific test case to verify that
ask_followup_questionis actually removed from the tools list whenalwaysAllowFollowupQuestionsisfalse.