Skip to content

Commit 66cb1b2

Browse files
authored
Merge pull request #349 from rumpl/fix-tool-definition
Don't try to marshal functions
2 parents eaa0ef0 + 2ff9480 commit 66cb1b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/tools/tools.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ type ToolType string
2828

2929
type Tool struct {
3030
Function *FunctionDefinition `json:"function,omitempty"`
31-
Handler ToolHandler `json:"handler,omitempty"`
31+
Handler ToolHandler `json:"-"`
3232
}
3333

3434
type FunctionDefinition struct {

0 commit comments

Comments
 (0)