forked from open-webui/open-webui
refac
This commit is contained in:
parent
cf811edefb
commit
236e2c040c
2 changed files with 1 additions and 9 deletions
|
@ -849,9 +849,6 @@
|
||||||
shareEnabled={messages.length > 0}
|
shareEnabled={messages.length > 0}
|
||||||
{chat}
|
{chat}
|
||||||
{initNewChat}
|
{initNewChat}
|
||||||
{tags}
|
|
||||||
{addTag}
|
|
||||||
{deleteTag}
|
|
||||||
/>
|
/>
|
||||||
<div class="flex flex-col flex-auto">
|
<div class="flex flex-col flex-auto">
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -30,14 +30,12 @@
|
||||||
getTagsById,
|
getTagsById,
|
||||||
updateChatById
|
updateChatById
|
||||||
} from '$lib/apis/chats';
|
} from '$lib/apis/chats';
|
||||||
import { queryCollection, queryDoc } from '$lib/apis/rag';
|
|
||||||
import { generateOpenAIChatCompletion, generateTitle } from '$lib/apis/openai';
|
import { generateOpenAIChatCompletion, generateTitle } from '$lib/apis/openai';
|
||||||
|
|
||||||
import MessageInput from '$lib/components/chat/MessageInput.svelte';
|
import MessageInput from '$lib/components/chat/MessageInput.svelte';
|
||||||
import Messages from '$lib/components/chat/Messages.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 Navbar from '$lib/components/layout/Navbar.svelte';
|
||||||
import { RAGTemplate } from '$lib/utils/rag';
|
|
||||||
import {
|
import {
|
||||||
LITELLM_API_BASE_URL,
|
LITELLM_API_BASE_URL,
|
||||||
OPENAI_API_BASE_URL,
|
OPENAI_API_BASE_URL,
|
||||||
|
@ -877,9 +875,6 @@
|
||||||
|
|
||||||
goto('/');
|
goto('/');
|
||||||
}}
|
}}
|
||||||
{tags}
|
|
||||||
{addTag}
|
|
||||||
{deleteTag}
|
|
||||||
/>
|
/>
|
||||||
<div class="flex flex-col flex-auto">
|
<div class="flex flex-col flex-auto">
|
||||||
<div
|
<div
|
||||||
|
|
Loading…
Reference in a new issue