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(model): make sure AppModelConfig.model_dict returns a dict. (#10972)
-LAN-535c72cad7de
diff --git a/api/models/model.py b/api/models/model.pyindex 8930d896c6f..4562d8cf294 100644--- a/api/models/model.py+++ b/api/models/model.py@@ -255,7 +255,7 @@ class AppModelConfig(db.Model):@propertydef model_dict(self) -> dict:- return json.loads(self.model) if self.model else None+ return json.loads(self.model) if self.model else {}@propertydef suggested_questions_list(self) -> list:@@ -600,8 +600,8 @@ class Conversation(db.Model):app_model_config = (db.session.query(AppModelConfig).filter(AppModelConfig.id == self.app_model_config_id).first())-- model_config = app_model_config.to_dict()+ if app_model_config:+ model_config = app_model_config.to_dict()model_config["model_id"] = self.model_idmodel_config["provider"] = self.model_provider