GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |
GeezerVison is showing github.com — feat: add async ask_user_question behind a hidden experiment by mafredri · Pull Request #32085 · coder/coder Conversation
Member
This adds the hidden experiment
With the experiment disabled nothing changes. Plan mode and chats created through the API keep the blocking question in both cases. The experiment is not in Nothing answers an async question yet: the follow-up PRs add the answer message part and the question panel in the web UI. Verified with: Refs CODAGT-1460. Replaces #31310 by @ibetitsmike; the chatd push path is his. Decision log
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsKeep async questions hidden until their web UI answer flow is ready. The experiment is deployment-scoped and remains outside the safe set. Let questions return an ID that a later user answer can reference. Bound async result size so tool-result truncation cannot remove that ID, and preserve the blocking question contract for plan mode. Let web UI root chats continue after asking for a user decision when the hidden experiment is enabled. Send question pushes only after the tool result commits, without changing plan-mode or API-chat behavior. Co-authored-by: Michael Suchacz <[email protected]> …nc tool Keep blocking question results and tools from other sources out of the async question push path when a turn does not offer the async tool. Distinguish blocking questions from async questions even when the tool name and turn-stop policy match. Preserve the API plan-root coverage while checking the turn environment flag for every policy case. Use the shared Fantasy conversion so a text result works in both its value and pointer forms, as it does elsewhere in the generation path. Expose the running-turn assertions in the continued-execution scenario and distinguish the completion push from the question push. Use named options for each test setup and remove the redundant error assertion. Keep the comments precise about tool configuration and post-commit question pushes, and separate body preparation from scheduling. …estion Move the async result into its own function so Run shows the async and blocking branches side by side, and break up the "too long" message. In the tests, write the JSON inputs as multi-line raw strings and separate arrange, act and assert in each subtest. Name the fake model's three behaviors, the tool call input, the state passed to the held-call callback and the turn result, and move the committed question_id lookup into a helper, so each subtest reads top to bottom. The assertions are unchanged. …n policy Name the client type and experiment conditions that select the async tool, document the new tool-policy test fields, and separate the ask_user_question assertions from the toolset assertions. All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. This branch was previously deployed1 inactive deployment
main
—
199a4b4c
Deployed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesLabels
None yet
ProjectsMilestoneNo milestoneDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. | |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |