Skip to content

Commit edf5896

Browse files
Go formatting
1 parent 033edcd commit edf5896

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

go/client.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,12 +1431,7 @@ func (c *Client) handleToolCallRequestV2(req toolCallRequestV2) (*toolCallRespon
14311431
}}, nil
14321432
}
14331433

1434-
invocation := ToolInvocation{
1435-
SessionID: req.SessionID,
1436-
ToolCallID: req.ToolCallID,
1437-
ToolName: req.ToolName,
1438-
Arguments: req.Arguments,
1439-
}
1434+
invocation := ToolInvocation(req)
14401435

14411436
result, err := handler(invocation)
14421437
if err != nil {

0 commit comments

Comments
 (0)