mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-27 20:42:52 +00:00
fix: add tool_type field to Tool serializer in tool.py
This commit is contained in:
parent
b656d05036
commit
4e87048053
|
|
@ -102,7 +102,7 @@ class ToolModelSerializer(serializers.ModelSerializer):
|
|||
class Meta:
|
||||
model = Tool
|
||||
fields = ['id', 'name', 'icon', 'desc', 'code', 'input_field_list', 'init_field_list', 'init_params',
|
||||
'scope', 'is_active', 'user_id', 'template_id', 'workspace_id', 'folder_id',
|
||||
'scope', 'is_active', 'user_id', 'template_id', 'workspace_id', 'folder_id', 'tool_type',
|
||||
'create_time', 'update_time']
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue