Skip to content

Commit

Permalink
fix: missing description when handshake
Browse files Browse the repository at this point in the history
  • Loading branch information
woorui authored and fanweixiao committed Oct 28, 2024
1 parent 4dcfc56 commit b790a89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ func (c *Client) handshakeWithDefinition() ([]byte, error) {
return nil, nil
}
log.InfoStatusEvent(os.Stdout, "Function Calling jsonschema: %s", string(functionDefinition))
return nil, nil
return functionDefinition, nil
}

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

0 comments on commit b790a89

Please sign in to comment.