diff --git a/core/client.go b/core/client.go index 9b4a08c13..5f0eed20b 100644 --- a/core/client.go +++ b/core/client.go @@ -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) {