fix: incorrect json property annotation for ZhiPuAI
This commit is contained in:
committed by
Ilayaperumal Gopinathan
parent
7b3f424ae1
commit
308d8d4cc2
@@ -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() {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user