fix: incorrect json property annotation for ZhiPuAI

This commit is contained in:
GR
2024-11-26 18:51:36 +08:00
committed by Ilayaperumal Gopinathan
parent 7b3f424ae1
commit 308d8d4cc2

View File

@@ -329,11 +329,11 @@ public class ZhiPuAiApi {
// The type of the tool. Currently, only 'function' is supported.
@JsonProperty("type")
private Function function;
private Type type = Type.FUNCTION;
// The function definition.
@JsonProperty("function")
private Type type = Type.FUNCTION;
private Function function;
public FunctionTool() {