refac
This commit is contained in:
1 parent
55d1db1f38
commit
c1202a2327
7 files changed
+47
-31
No files matched your search
@@ -360,7 +360,7 @@ async def execute_automation(app, automation: AutomationModel) -> None:
|
||||
await _record_run(automation.id, 'error', error='User not found')
|
||||
return
|
||||
|
||||
prompt = prompt_template(automation.data['prompt'], user)
|
||||
prompt = await prompt_template(automation.data['prompt'], user)
|
||||
model_id = automation.data['model_id']
|
||||
terminal_config = automation.data.get('terminal')
|
||||
|
||||
|
||||
Reference in new issue
Block a user