From 36e50f277f3d35e0c622ad1395da43fe131b9326 Mon Sep 17 00:00:00 2001 From: wangxiaolei Date: Wed, 11 Feb 2026 10:04:38 +0800 Subject: [PATCH] fix: fix all tools is deleted (#32207) --- api/models/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/models/model.py b/api/models/model.py index b531afcf4c..be4e5b819a 100644 --- a/api/models/model.py +++ b/api/models/model.py @@ -227,7 +227,7 @@ class App(Base): with Session(db.engine) as session: if api_provider_ids: existing_api_providers = [ - api_provider.id + str(api_provider.id) for api_provider in session.execute( text("SELECT id FROM tool_api_providers WHERE id IN :provider_ids"), {"provider_ids": tuple(api_provider_ids)},