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
d12a7247
"git@developer.sourcefind.cn:chenpangpang/open-webui.git" did not exist on "1cbcb0bccce898817a6f597f5c6cf7cab2043004"
Commit
d12a7247
authored
Mar 26, 2024
by
Timothy J. Baek
Browse files
fix: missing import
parent
941bb7c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
src/routes/(app)/c/[id]/+page.svelte
src/routes/(app)/c/[id]/+page.svelte
+8
-3
No files found.
src/routes/(app)/c/[id]/+page.svelte
View file @
d12a7247
...
...
@@ -19,7 +19,7 @@
}
from
'$lib/stores'
;
import
{
copyToClipboard
,
splitStream
,
convertMessagesToHistory
}
from
'$lib/utils'
;
import
{
generateChatCompletion
,
generateTitle
,
cancelOllamaRequest
}
from
'$lib/apis/ollama'
;
import
{
generateChatCompletion
,
cancelOllamaRequest
}
from
'$lib/apis/ollama'
;
import
{
addTagById
,
createNewChat
,
...
...
@@ -31,14 +31,19 @@
updateChatById
}
from
'$lib/apis/chats'
;
import
{
queryCollection
,
queryDoc
}
from
'$lib/apis/rag'
;
import
{
generateOpenAIChatCompletion
}
from
'$lib/apis/openai'
;
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
,
WEBUI_BASE_URL
}
from
'$lib/constants'
;
import
{
LITELLM_API_BASE_URL
,
OPENAI_API_BASE_URL
,
OLLAMA_API_BASE_URL
,
WEBUI_BASE_URL
}
from
'$lib/constants'
;
const
i18n
=
getContext
(
'i18n'
);
...
...
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