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
236e2c04
Commit
236e2c04
authored
Apr 16, 2024
by
Timothy J. Baek
Browse files
refac
parent
cf811ede
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
9 deletions
+1
-9
src/routes/(app)/+page.svelte
src/routes/(app)/+page.svelte
+0
-3
src/routes/(app)/c/[id]/+page.svelte
src/routes/(app)/c/[id]/+page.svelte
+1
-6
No files found.
src/routes/(app)/+page.svelte
View file @
236e2c04
...
...
@@ -849,9 +849,6 @@
shareEnabled
={
messages
.
length
>
0
}
{
chat
}
{
initNewChat
}
{
tags
}
{
addTag
}
{
deleteTag
}
/>
<
div
class
=
"flex flex-col flex-auto"
>
<
div
...
...
src/routes/(app)/c/[id]/+page.svelte
View file @
236e2c04
...
...
@@ -30,14 +30,12 @@
getTagsById
,
updateChatById
}
from
'$lib/apis/chats'
;
import
{
queryCollection
,
queryDoc
}
from
'$lib/apis/rag'
;
import
{
generateOpenAIChatCompletion
,
generateTitle
}
from
'$lib/apis/openai'
;
import
MessageInput
from
'$lib/components/chat/MessageInput.svelte'
;
import
Messages
from
'$lib/components/chat/Messages.svelte'
;
import
ModelSelector
from
'$lib/components/chat/ModelSelector.svelte'
;
import
Navbar
from
'$lib/components/layout/Navbar.svelte'
;
import
{
RAGTemplate
}
from
'$lib/utils/rag'
;
import
{
LITELLM_API_BASE_URL
,
OPENAI_API_BASE_URL
,
...
...
@@ -877,9 +875,6 @@
goto
(
'/'
);
}}
{
tags
}
{
addTag
}
{
deleteTag
}
/>
<
div
class
=
"flex flex-col flex-auto"
>
<
div
...
...
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