Skip to content

Commit

Permalink
fix tools
Browse files Browse the repository at this point in the history
  • Loading branch information
lhpqaq committed Jan 5, 2025
1 parent 7dccf77 commit 07b688b
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ public Map<ToolSpecification, ToolExecutor> getServiceByName() {
if (propertyVO.getName().equals("content")) {
propertyVO.setValue(null);
}
if (propertyVO.getAttrs() != null
&& propertyVO.getAttrs().getType().equals("longtext")) {
propertyVO.setValue(null);
}
}
}
return JsonUtils.indentWriteAsString(serviceVO);
Expand Down

0 comments on commit 07b688b

Please sign in to comment.