Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: drop useless and wrong code in Account (#11961)
yihongdfc25dbdd036
diff --git a/api/models/account.py b/api/models/account.pyindex 932ba1da578..a8602d10a97 100644--- a/api/models/account.py+++ b/api/models/account.py@@ -99,11 +99,6 @@ class Account(UserMixin, db.Model):return db.session.query(Account).filter(Account.id == account_integrate.account_id).one_or_none()return None- def get_integrates(self) -> list[db.Model]:- ai = db.Model- return db.session.query(ai).filter(ai.account_id == self.id).all()-- # check current_user.current_tenant.current_role in ['admin', 'owner']@propertydef is_admin_or_owner(self):return TenantAccountRole.is_privileged_role(self._current_tenant.current_role)