feat: tool output schema

This commit is contained in:
Yeuoly
2024-09-29 20:58:07 +08:00
parent 7c83d5ce76
commit 0dd05d7b6d
3 changed files with 3 additions and 1 deletions

View File

@ -262,6 +262,7 @@ class ToolTransformService:
name=tool.entity.identity.name,
label=tool.entity.identity.label,
description=tool.entity.description.human if tool.entity.description else I18nObject(en_US=""),
output_schema=tool.entity.output_schema,
parameters=current_parameters,
labels=labels or [],
)