mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
refac
This commit is contained in:
parent
afd270523c
commit
a3f09949c0
1 changed files with 7 additions and 1 deletions
|
|
@ -72,7 +72,13 @@ class Filter:
|
|||
print(f"outlet:body:{body}")
|
||||
print(f"outlet:user:{user}")
|
||||
|
||||
return body`;
|
||||
messages = [
|
||||
{**message, "content": f"{message['content']} - @@Modified from Outlet"}
|
||||
for message in body.get("messages", [])
|
||||
]
|
||||
|
||||
return {"messages": messages}
|
||||
`;
|
||||
|
||||
const saveHandler = async () => {
|
||||
loading = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue