Skip to content

Commit b790a89

Browse files
wooruifanweixiao
authored andcommitted
fix: missing description when handshake
1 parent 4dcfc56 commit b790a89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ func (c *Client) handshakeWithDefinition() ([]byte, error) {
263263
return nil, nil
264264
}
265265
log.InfoStatusEvent(os.Stdout, "Function Calling jsonschema: %s", string(functionDefinition))
266-
return nil, nil
266+
return functionDefinition, nil
267267
}
268268

269269
func parseAIFunctionDefinition(sfnName, aiFunctionDescription string, aiFunctionInputModel any) ([]byte, error) {

0 commit comments

Comments
 (0)