fix: Importing an application that references tools from the tool store will create tools from the tool store in the new workspace (#3568)

This commit is contained in:
shaohuzhang1 2025-07-11 22:13:54 +08:00 committed by GitHub
parent d8c35fffd7
commit 1a2a02b808
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -549,6 +549,7 @@ class ApplicationSerializer(serializers.Serializer):
user_id=user_id,
name=tool.get('name'),
code=tool.get('code'),
template_id=tool.get('template_id'),
input_field_list=tool.get('input_field_list'),
is_active=tool.get('is_active'),
scope=ToolScope.WORKSPACE,