Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
e20baad6
Commit
e20baad6
authored
Jun 20, 2024
by
Timothy J. Baek
Browse files
refac
parent
a3f09949
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/lib/components/workspace/Functions/FunctionEditor.svelte
src/lib/components/workspace/Functions/FunctionEditor.svelte
+5
-1
No files found.
src/lib/components/workspace/Functions/FunctionEditor.svelte
View file @
e20baad6
...
@@ -73,11 +73,15 @@ class Filter:
...
@@ -73,11 +73,15 @@ class Filter:
print(f"outlet:user:{user}")
print(f"outlet:user:{user}")
messages = [
messages = [
{**message, "content": f"{message['content']} - @@Modified from Outlet"}
{
**message,
"content": f"{message['content']} - @@Modified from Filter Outlet",
}
for message in body.get("messages", [])
for message in body.get("messages", [])
]
]
return {"messages": messages}
return {"messages": messages}
`;
`;
const saveHandler = async () => {
const saveHandler = async () => {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment