From b790a895668a49554ff23b8490ab8e38aca54ced Mon Sep 17 00:00:00 2001 From: woorui Date: Mon, 28 Oct 2024 23:22:53 +0800 Subject: [PATCH] fix: missing description when handshake --- core/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {