diff --git a/api/core/application_manager.py b/api/core/application_manager.py index cdc5d57c7cd515..cad03c710d099d 100644 --- a/api/core/application_manager.py +++ b/api/core/application_manager.py @@ -436,8 +436,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"] - agent_tool_properties["config"] = tool_item agent_tools.append(AgentToolEntity(**agent_tool_properties)) diff --git a/api/requirements.txt b/api/requirements.txt index fec60347fcc7fb..958c0ff5408a8d 100644 --- a/api/requirements.txt +++ b/api/requirements.txt @@ -61,5 +61,4 @@ unstructured~=0.10.27 unstructured[docx,pptx,msg,md,ppt]~=0.10.27 bs4~=0.0.1 markdown~=3.5.1 - -google-generativeai~=0.3.2 \ No newline at end of file +google-generativeai~=0.3.2