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: error in migrate_annotation_vector_database when exec vdb-migrate (#15937)
Naoki KOBAYASHIe91531fc2371
diff --git a/api/commands.py b/api/commands.pyindex f97fa86448e..df67f29affa 100644--- a/api/commands.py+++ b/api/commands.py@@ -160,11 +160,17 @@ def migrate_annotation_vector_database():while True:try:# get apps info+ per_page = 50apps = (- App.query.filter(App.status == "normal")+ db.session.query(App)+ .filter(App.status == "normal").order_by(App.created_at.desc())- .paginate(page=page, per_page=50)+ .limit(per_page)+ .offset((page - 1) * per_page)+ .all())+ if not apps:+ breakexcept NotFound:break