mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 08:40:58 +00:00
refac
This commit is contained in:
parent
afd270523c
commit
a3f09949c0
@ -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 New Issue
Block a user