refactor: simplify AI action execution and improve sub-action handling

This commit is contained in:
lilong.129
2025-06-08 19:16:37 +08:00
parent bdf64a08aa
commit b9de3cf7a3
8 changed files with 124 additions and 184 deletions
+1 -2
View File
@@ -15,9 +15,8 @@ import (
func TestDriverExt_TapByLLM(t *testing.T) {
driver := setupDriverExt(t)
subActionResults, err := driver.AIAction(context.Background(), "点击第一个帖子的作者头像")
err := driver.AIAction(context.Background(), "点击第一个帖子的作者头像")
assert.Nil(t, err)
t.Log(subActionResults)
err = driver.AIAssert("当前在个人介绍页")
assert.Nil(t, err)