Skip to content

Commit 4e87048

Browse files
committed
fix: add tool_type field to Tool serializer in tool.py
1 parent b656d05 commit 4e87048

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/tools/serializers/tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class ToolModelSerializer(serializers.ModelSerializer):
102102
class Meta:
103103
model = Tool
104104
fields = ['id', 'name', 'icon', 'desc', 'code', 'input_field_list', 'init_field_list', 'init_params',
105-
'scope', 'is_active', 'user_id', 'template_id', 'workspace_id', 'folder_id',
105+
'scope', 'is_active', 'user_id', 'template_id', 'workspace_id', 'folder_id', 'tool_type',
106106
'create_time', 'update_time']
107107

108108

0 commit comments

Comments
 (0)