feat(chat): add ask_user_question interaction flow - #336
Closed
Pandakingxbc wants to merge 1 commit into
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ask_user_questionstructured tool for every agent, backed by LangGraph interrupt/resume./answer; a normal message is accepted automatically only for one unambiguous free-text question.ask_user_questionoutside tool-approval HITL rules to avoid approval deadlocks.Product behavior
/answer <number-or-label>; batches use/answer 1=value; 2=value.pending -> resuming -> answeredtransition, with release on resume failure and recovery after restart.Validation
uv run ruff check src testsuv run mypy src/octopnpx eslinton all changed Dashboard TypeScript filesnpx tsc --noEmitnpm run buildpublishedExperts.test.tsbecause its expectation omits the refresh request body already sent by mainThe repository-wide backend suite was stopped at 12% as requested; no failure had appeared before interruption.