mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-13 04:10:21 +08:00
fix: add direction parameter support for scroll operations in UI-TARS parser
- Handle direction parameter in convertProcessedArgs for scroll actions - Ensure scroll operations map to swipe with both coordinates and direction - Add comprehensive test coverage for scroll action parsing - Fix issue where scroll direction was missing from tool call arguments
This commit is contained in:
@@ -127,6 +127,7 @@ var (
|
||||
LLMRequestServiceError = errors.New("request LLM service error") // 112
|
||||
LLMParsePlanningResponseError = errors.New("parse LLM planning response error") // 113
|
||||
LLMParseAssertionResponseError = errors.New("parse LLM assertion response error") // 114
|
||||
LLMParseQueryResponseError = errors.New("parse LLM query response error") // 115
|
||||
)
|
||||
|
||||
var errorsMap = map[error]int{
|
||||
@@ -217,6 +218,7 @@ var errorsMap = map[error]int{
|
||||
LLMRequestServiceError: 112,
|
||||
LLMParsePlanningResponseError: 113,
|
||||
LLMParseAssertionResponseError: 114,
|
||||
LLMParseQueryResponseError: 115,
|
||||
|
||||
// trackings related
|
||||
TrackingGetError: 90,
|
||||
|
||||
Reference in New Issue
Block a user