mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-11 22:52:54 +00:00
refac
This commit is contained in:
parent
90319593d0
commit
48288e9ce7
1 changed files with 2 additions and 1 deletions
|
|
@ -300,7 +300,7 @@ async def execute_automation(app, automation: AutomationModel) -> None:
|
|||
"title": automation.name,
|
||||
"models": [model_id],
|
||||
"history": {
|
||||
"currentId": user_msg_id,
|
||||
"currentId": assistant_msg_id,
|
||||
"messages": {
|
||||
user_msg_id: {
|
||||
"id": user_msg_id,
|
||||
|
|
@ -316,6 +316,7 @@ async def execute_automation(app, automation: AutomationModel) -> None:
|
|||
"parentId": user_msg_id,
|
||||
"role": "assistant",
|
||||
"content": "",
|
||||
"done": False,
|
||||
"model": model_id,
|
||||
"childrenIds": [],
|
||||
"timestamp": int(time.time()),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue