Commit 42957881 authored by alex yao's avatar alex yao

feat: Function 出参优化

parent 32924fb9
......@@ -900,7 +900,7 @@ public class AgentApplicationServiceImpl implements AgentApplicationService {
break;
}
}
toolFunction.setArguments(JsonUtils.serialize(functionResult.getFunctionArg()));
toolFunction.setArguments(functionResult.getFunctionArg());
toolFunction.setResult(JsonUtils.serialize(functionResult.getFunctionResult()));
return toolFunction;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment