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