Skip to content

Commit 0cb10ff

Browse files
authored
refactor: remove incorrect function comment (cloudwego#401)
1 parent 9c19691 commit 0cb10ff

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

components/tool/utils/invokable_func.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ func NewTool[T, D any](desc *schema.ToolInfo, i InvokeFunc[T, D], opts ...Option
105105
}, opts...)
106106
}
107107

108-
// NewTool Create a tool, where the input and output are both in JSON format.
109108
func newOptionableTool[T, D any](desc *schema.ToolInfo, i OptionableInvokeFunc[T, D], opts ...Option) tool.InvokableTool {
110109
to := getToolOptions(opts...)
111110

0 commit comments

Comments
 (0)