|
|
|
@ -72,7 +72,7 @@ class AdvancedChatAppRunner(WorkflowBasedAppRunner):
|
|
|
|
app_config = self.application_generate_entity.app_config
|
|
|
|
app_config = self.application_generate_entity.app_config
|
|
|
|
app_config = cast(AdvancedChatAppConfig, app_config)
|
|
|
|
app_config = cast(AdvancedChatAppConfig, app_config)
|
|
|
|
|
|
|
|
|
|
|
|
app_record = db.session.query(App).where(App.id == app_config.app_id).first()
|
|
|
|
app_record = db.session.query(App).filter(App.id == app_config.app_id).first()
|
|
|
|
if not app_record:
|
|
|
|
if not app_record:
|
|
|
|
raise ValueError("App not found")
|
|
|
|
raise ValueError("App not found")
|
|
|
|
|
|
|
|
|
|
|
|
|