From ad050b472366bfcc7334170d7d18cf1c7e7f243c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=99=E6=B3=93=E9=93=AE?= Date: Fri, 15 Aug 2025 15:56:51 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=E5=90=8D=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- uixt/driver_ext_ai.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uixt/driver_ext_ai.go b/uixt/driver_ext_ai.go index ea0ef936..c312f149 100644 --- a/uixt/driver_ext_ai.go +++ b/uixt/driver_ext_ai.go @@ -249,7 +249,7 @@ func (dExt *XTDriver) AIAssert(assertion string, opts ...option.ActionOption) (* // Parse action options to get ResetHistory setting options := option.NewActionOptions(opts...) - screenOptions := []option.ActionOption{option.WithScreenShotFileName("ai_action"), option.WithScreenShotBase64(true)} + screenOptions := []option.ActionOption{option.WithScreenShotFileName("ai_assert"), option.WithScreenShotBase64(true)} if options.ScreenShotWithUpload { screenOptions = append(screenOptions, option.WithScreenShotUpload(true)) } @@ -306,7 +306,7 @@ func (dExt *XTDriver) PlanNextAction(ctx context.Context, prompt string, opts .. // Parse action options to get ResetHistory setting options := option.NewActionOptions(opts...) resetHistory := options.ResetHistory - screenOptions := []option.ActionOption{option.WithScreenShotFileName("ai_action"), option.WithScreenShotBase64(true)} + screenOptions := []option.ActionOption{option.WithScreenShotFileName("ai_planning"), option.WithScreenShotBase64(true)} if options.ScreenShotWithUpload { screenOptions = append(screenOptions, option.WithScreenShotUpload(true)) }