Skip to content

feat(tools): add question tool with inline editor#3069

Open
taciturnaxolotl wants to merge 9 commits into
mainfrom
question-tool
Open

feat(tools): add question tool with inline editor#3069
taciturnaxolotl wants to merge 9 commits into
mainfrom
question-tool

Conversation

@taciturnaxolotl

@taciturnaxolotl taciturnaxolotl commented Jun 2, 2026

Copy link
Copy Markdown
Member

This builds on the excellent work in #2980 and #2579 to implement an ask-question tool in a few different forms:

  • Binary (Yes/No)
  • Multiple options, single choice
  • Multiple choice
  • Question series

Co-authored by: @vadiminshakov
Co-authored by: @detro

fixes CHARM-1423

@taciturnaxolotl taciturnaxolotl force-pushed the question-tool branch 2 times, most recently from ff98a03 to e6a432e Compare June 2, 2026 20:26
@meowgorithm meowgorithm changed the title feat(question): add question tool with inline editor feat(tools): add question tool with inline editor Jun 2, 2026
Comment thread internal/question/question.go
Comment thread internal/question/question.go Outdated
@taciturnaxolotl taciturnaxolotl force-pushed the question-tool branch 10 times, most recently from 53de1ea to e817fb3 Compare June 3, 2026 14:17
@dcu

dcu commented Jun 3, 2026

Copy link
Copy Markdown

crush tends to not ask questions because of the system prompt, what do you think of adjusting it?

@taciturnaxolotl

Copy link
Copy Markdown
Member Author

thats not a bad idea; personally i haven't noticed a huge lack of asking questions in my testing if you are seeing it more then that might be a good idea

@taciturnaxolotl

Copy link
Copy Markdown
Member Author

for example it just prompted me with a question while editing my jj config

image

@vadiminshakov

Copy link
Copy Markdown
Contributor

Questions shouldn’t be asked too often, otherwise it will become annoying for the user. Right now, the frequency of questions seems fine to me

@dcu

dcu commented Jun 3, 2026

Copy link
Copy Markdown

in my experience it sometimes overthinks and keeps in a loop instead of asking question, sometimes I just have to stop and tell the agent to ask me questions and then it can move on. this is specially true with kimi k2.6

@taciturnaxolotl

Copy link
Copy Markdown
Member Author

yeah that is a bit of a problem with kimi; it doesn't happen as much with other models in my experience. Either disabling thinking or setting reasoning level to low on kimi usually works pretty well for me

@vadiminshakov

vadiminshakov commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Everything seems to be working well. You can clean up the extra interface (BatchService iface), but overall this shouldn’t block the merge

Comment thread internal/pubsub/events.go Outdated
Comment thread internal/ui/model/ui.go Outdated
@taciturnaxolotl taciturnaxolotl force-pushed the question-tool branch 2 times, most recently from f52b9cd to a5a2ec8 Compare June 3, 2026 19:55
@taciturnaxolotl taciturnaxolotl force-pushed the question-tool branch 11 times, most recently from 3495651 to fb1b3d3 Compare June 11, 2026 18:31
@taciturnaxolotl taciturnaxolotl marked this pull request as ready for review June 11, 2026 18:36
@taciturnaxolotl taciturnaxolotl self-assigned this Jun 11, 2026
Comment thread internal/agent/agenttest/coordinator.go Outdated
Comment on lines 67 to 81
nil, // run completions
nil, // skills
false, // interactive
)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@taciturnaxolotl perhaps we should rethink how the controller is setup. The comments and number of args here is a code smell to me. That is to say, the arguments may be better as a struct so the values are self documenting.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

i agree; i was wanting to change it but didn't want to break anything in this pr

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

added a new commit for this

@taciturnaxolotl taciturnaxolotl force-pushed the question-tool branch 3 times, most recently from ec6a2a6 to 1a68b84 Compare June 14, 2026 19:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants