Commit Graph

452 Commits

Author SHA1 Message Date
lilong.129
7393f7aab3 refactor: BuildMCPCallToolRequest 2025-07-03 18:18:34 +08:00
lilong.129
3171cb8aaf change: swipe to tap app, set offset to 0,-100 2025-07-02 16:39:23 +08:00
lilong.129
a0c1315399 change: print exit code 2025-07-01 14:47:48 +08:00
lilong.129
ab40a8c63f refactor: ForegroundInfo 2025-06-30 00:14:54 +08:00
lilong.129
7527726dc8 Merge remote-tracking branch 'gitlab/master' 2025-06-29 23:44:27 +08:00
lilong.129
5baabee89c fix: update invokeToolCall to accept options and refactor action type handling in MarkUIOperation 2025-06-29 15:59:48 +08:00
余泓铮
5ac641999e fix: download path不再使用时间戳 2025-06-29 14:44:15 +08:00
lilong.129
99cde5a220 fix: update Makefile to specify Go toolchain version and adjust pre-commit hook installation 2025-06-28 12:22:51 +08:00
lilong.129
6c685acbf6 update version 2025-06-27 11:56:27 +08:00
lilong.129
ba43e9fd0e refactor: enhance JSON handling and improve request retry logic in DriverSession 2025-06-27 11:52:53 +08:00
lilong.129
7737705ab9 bump version to v5.0.0 2025-06-26 20:14:50 +08:00
lilong.129
b188d6b29b feat: add device status logging and extend DeviceStatus struct with new fields 2025-06-26 20:09:13 +08:00
lilong.129
eb0d184d6d change: set WDA default port to 8700/8800 2025-06-26 19:42:01 +08:00
lilong.129
a6d6b5bad2 change: update tests 2025-06-26 19:39:54 +08:00
lilong.129
32d2f7d27d fix: update input interaction endpoint in WDADriver to use new URL 2025-06-26 19:06:59 +08:00
lilong.129
1923996f65 fix: clean up Appium settings initialization 2025-06-26 17:30:00 +08:00
lilong.129
98dc80cca5 merge master 2025-06-26 14:57:56 +08:00
lilong.129
1b48763e57 refactor: clean up function signatures in DriverSession and WDADriver for improved readability 2025-06-26 14:43:39 +08:00
lilong.129
3e4858db44 refactor: update URL handling in DriverSession and WDADriver, removing base URL dependency for HTTP requests 2025-06-26 14:37:41 +08:00
lilong.129
88d255bce1 refactor: remove GET/POST methods with base URL, streamline HTTP requests in UIA2 and WDA drivers 2025-06-26 14:18:11 +08:00
lilong.129
51e106c9ad fix: improve JSON parsing in ForegroundInfo by cleaning packageInfo 2025-06-26 13:48:42 +08:00
lilong.129
90ce090e35 fix: remove redundant message cleaning logic in callModelWithLogging
The previous message cleaning logic was flawed:
- cleanedMsg.Content was already set to message.Content
- The condition checked if message.Content == "" then set cleanedMsg.Content = ""
- This was redundant since cleanedMsg.Content would already be empty

The real fix for the API 400 error is in planner.go where we ensure Tool messages
have non-empty content. The utils.go changes were unnecessary.
2025-06-26 13:41:39 +08:00
lilong.129
e070801b00 fix: resolve doubao-seed-1.6-250615 model API 400 error with empty content
- Fix Tool message content issue when model returns empty content in function calling
- Add content validation in callModelWithLogging to handle empty content in messages
- Ensure compatibility between UI-TARS and function calling models

This resolves the "missing messages.content parameter" error when using 
doubao-seed-1.6-250615 model compared to doubao-1.5-ui-tars-250328
2025-06-26 10:57:27 +08:00
lilong.129
191235e3f2 add examples 2025-06-25 20:17:27 +08:00
lilong.129
b3eb1a7f8a change: GenHTMLReport will also SetSaveTests 2025-06-25 17:28:51 +08:00
lilong.129
9b9875dc2c feat: enhance HTML report with modals for summary JSON and log content, and improve download functionality 2025-06-25 15:30:32 +08:00
lilong.129
bfa6a0e4cd feat: add case.json support for HTML report generation and enhance logging for step execution 2025-06-25 14:40:04 +08:00
lilong.129
0491299245 merge master 2025-06-25 12:07:38 +08:00
lilong.129
70471d2fb4 fix: enhance logging for interrupted processes and ensure step results are saved in failfast mode 2025-06-25 11:57:09 +08:00
徐聪
470bde97d7 fix: failed to return err 2025-06-25 11:13:56 +08:00
徐聪
4f605d5558 fix: add actions to web driver 2025-06-24 23:17:05 +08:00
lilong.129
53fad4edc5 refactor: streamline AI assertion result handling by consolidating error management and improving result structure 2025-06-24 23:10:46 +08:00
徐聪
230f9bfd14 fix: delete useless codes 2025-06-24 23:07:44 +08:00
徐聪
ea6b0a6902 fix: failed to exec web script 2025-06-24 23:02:35 +08:00
lilong.129
72a0915b04 fix: adb double tap 2025-06-24 22:54:26 +08:00
lilong.129
43d990f863 fix: ensure extracted thought is not empty before displaying in report 2025-06-24 22:22:34 +08:00
lilong.129
084c28834c fix: improve step execution handling with interrupt support and result logging 2025-06-24 21:08:59 +08:00
lilong.129
54001363e4 feat: save json case to results directory 2025-06-24 19:46:12 +08:00
lilong.129
5e4b5db64a change: update docs for summary 2025-06-24 17:00:29 +08:00
lilong.129
d0ceeb6c51 refactor: update AI result handling to differentiate content and thought based on result types in report generation 2025-06-24 16:01:50 +08:00
lilong.129
4522bb2dbf fix: examples 2025-06-24 15:36:19 +08:00
lilong.129
b1719344c0 feat: enhance AI result handling with model name and usage statistics for query, action, and assertion types 2025-06-24 15:25:12 +08:00
lilong.129
8fc8d06604 feat: unify AI action handling with detailed execution results and enhanced UI integration 2025-06-24 13:42:08 +08:00
lilong.129
fc32b5d874 feat: enhance AI query handling with detailed result structure and improved UI display 2025-06-24 11:50:37 +08:00
lilong.129
b1b4e5c1dc feat: add toggle functionality for test summary steps with UI enhancements 2025-06-23 22:32:30 +08:00
lilong.129
e6ce61368e fix: enhance step log retrieval with prefix matching for parameterized steps 2025-06-23 21:42:09 +08:00
lilong.129
b320bbda31 feat: add parameterization support for test cases and steps with configuration options 2025-06-23 21:34:18 +08:00
lilong.129
93007d5eb7 docs: add summary structure 2025-06-23 15:04:32 +08:00
lilong.129
58befd6eae refactor: rename buildMCPCallToolRequest to BuildMCPCallToolRequest for consistency across the codebase 2025-06-22 22:54:12 +08:00
lilong.129
6cc3c3acb5 refactor: update driver caching mechanism to use generic CacheManager and improve metadata handling 2025-06-22 21:42:50 +08:00