change: remove unnecessary logs

This commit is contained in:
lilong.129
2025-06-10 13:19:36 +08:00
parent f5f6d177ab
commit 90401eeb78
3 changed files with 2 additions and 7 deletions

View File

@@ -1 +1 @@
v5.0.0-beta-2506101206
v5.0.0-beta-2506101319

View File

@@ -174,6 +174,7 @@ func (p *Planner) Call(ctx context.Context, opts *PlanningOptions) (result *Plan
log.Info().
Interface("thought", result.Thought).
Interface("tool_calls", result.ToolCalls).
Float64("elapsed(s)", time.Since(startTime).Seconds()).
Msg("get VLM planning result")
return result, nil
}

View File

@@ -498,7 +498,6 @@ func (t *ToolSwipeToTapTexts) Implement() server.ToolHandlerFunc {
}
// Swipe to tap texts action logic
log.Info().Strs("texts", unifiedReq.Texts).Msg("swipe to tap texts")
err = driverExt.SwipeToTapTexts(unifiedReq.Texts, opts...)
if err != nil {
return NewMCPErrorResponse(fmt.Sprintf("Swipe to tap texts failed: %s", err.Error())), nil
@@ -585,11 +584,6 @@ func (t *ToolDrag) Implement() server.ToolHandlerFunc {
}
// Drag action logic
log.Info().
Float64("fromX", unifiedReq.FromX).Float64("fromY", unifiedReq.FromY).
Float64("toX", unifiedReq.ToX).Float64("toY", unifiedReq.ToY).
Msg("performing drag")
err = driverExt.Swipe(unifiedReq.FromX, unifiedReq.FromY, unifiedReq.ToX, unifiedReq.ToY, opts...)
if err != nil {
return NewMCPErrorResponse(fmt.Sprintf("Drag failed: %s", err.Error())), nil