From 7544334876ed8983d00666d4140f04e036d80493 Mon Sep 17 00:00:00 2001 From: takatost Date: Tue, 2 Jan 2024 15:57:58 +0800 Subject: [PATCH] fix tool enabled missing --- api/core/application_manager.py | 1 - 1 file changed, 1 deletion(-) diff --git a/api/core/application_manager.py b/api/core/application_manager.py index fad1d1d82c1f56..cdc5d57c7cd515 100644 --- a/api/core/application_manager.py +++ b/api/core/application_manager.py @@ -389,7 +389,6 @@ def _convert_from_app_model_config_dict(self, tenant_id: str, app_model_config_d if "enabled" not in tool_item or not tool_item["enabled"]: continue - del tool_item["enabled"] dataset_id = tool_item['id'] dataset_ids.append(dataset_id)