Repository navigation
Report malformed Qwen action values as retryable parse errors - #115
Draft
rudycelekli wants to merge 1 commit into
Draft
rudycelekli wants to merge 1 commit into
rudycelekli wants to merge 1 commit into
Conversation
Contributor
|
thanks for you contribution! |
This branch has not been deployed
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.
Malformed Qwen action values can escape as AttributeError, ValueError or OverflowError; the retry loop catches only ParseError, so an invalid model action aborts rather than requesting a corrected action. Non-string typed text and nonfinite waits also reach execution with invalid argument types/values.
Validate the arguments object and typed text, translate coordinate/scroll conversion failures to ParseError, and reject nonfinite or negative waits. Valid numeric strings and zero waits retain their behavior. The regression demonstrates invalid coordinates followed by a valid action successfully recover through the actual retry logic.
Isolated validation on Python 3.11.15: 18 new cases plus 40 existing parser cases passed (58 total); on main, 17 new cases fail. Whole parser/base/coordinate/registry modules execute actual source. Because AgentLab/BrowserGym are not installed in this bounded test environment, the local harness extracts ParseError verbatim from the project's pinned AgentLab commit and retry/UI-TARS helpers verbatim from upstream source. This validates parser behavior and retry flow, not real package imports.
Draft pending dependency-qualified package imports and the full application/browser suite. The submitted regression uses normal package imports for that environment; the isolated harness is retained as local evidence. No model/provider calls or full-suite success is claimed. Based independently on main
8cc8e366fc70a3ea32baed8d95d8709155c9ec08.