feat: 优化协议

This commit is contained in:
余泓铮
2025-07-30 15:54:03 +08:00
parent f05310bec0
commit 5189bc8d53
3 changed files with 13 additions and 14 deletions
+2 -2
View File
@@ -292,10 +292,10 @@ func TestDriverExt_AIAction(t *testing.T) {
func TestDriverExt_AIAction_CompareWithAIAction(t *testing.T) {
driver := setupDriverExt(t)
prompt := "[目标导向]搜索“张杰演唱会”进入搜索页后停止"
prompt := "点击返回按钮"
// Test both methods with the same prompt
aiResult, aiErr := driver.StartToGoal(context.Background(), prompt)
aiResult, aiErr := driver.AIAction(context.Background(), prompt)
// Both should execute without critical errors (may have different implementations)
t.Logf("AIAction error: %v", aiErr)