fix(drive-thru): assume quantity of one when unstated to avoid count confirmation#6463
Open
u9g wants to merge 2 commits into
Open
fix(drive-thru): assume quantity of one when unstated to avoid count confirmation#6463u9g wants to merge 2 commits into
u9g wants to merge 2 commits into
Conversation
chenghao-mou
approved these changes
Jul 17, 2026
| "twice right away — no need to confirm the count first. \n" | ||
| "twice right away — no need to confirm the count first. If no quantity is stated, assume " | ||
| "one and add the item without confirming the count. \n" | ||
| "- Don’t assume unstated details — especially the drink in a combo. If a required detail is " |
Member
There was a problem hiding this comment.
nit: Should we have a carve-out here to exclude quantity?
Contributor
Author
There was a problem hiding this comment.
This is a great idea, honestly I didn't think of it. I just implemented it though, it's a better path forward imo.
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
test_consecutive_orderhas flaked twice on main in the last week (runs 29438348555 and 29261765536, both on commits unrelated to the drive-thru eval). In both cases the model responded to "Can I get a keychup sauce and a McFlurry Oreo ?" with a clarifying question ("Just to check, did you want just one of each?") instead of callingorder_regular_item, socontains_function_callfound no tool call.#6383 fixed the stated-quantity variant of this ("two mayonnaise sauces" → add twice without confirming). This extends the same instruction bullet to cover the unstated-quantity case: if no quantity is stated, assume one and add the item without confirming the count.
Testing
Ran
examples/drive-thru/test_agent.py::test_consecutive_order4 times locally with the change — 4/4 passed.