mirror of
https://github.com/open-webui/open-webui
synced 2025-01-18 16:51:17 +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:body:{body}")
|
||||||
print(f"outlet:user:{user}")
|
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 () => {
|
const saveHandler = async () => {
|
||||||
loading = true;
|
loading = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user