mirror of
https://github.com/httprunner/httprunner.git
synced 2026-06-25 17:44:02 +08:00
change: remove unnecessary logs
This commit is contained in:
@@ -1 +1 @@
|
||||
v5.0.0-beta-2506101206
|
||||
v5.0.0-beta-2506101319
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user