mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-21 14:12:42 +02:00
Chat Backend (#801)
This commit is contained in:
@@ -21,8 +21,8 @@ export default async function Page({
|
||||
] = await Promise.all([
|
||||
fetchSS(`/persona/${params.personaId}`),
|
||||
fetchSS("/manage/document-set"),
|
||||
fetchSS("/persona-utils/list-available-models"),
|
||||
fetchSS("/persona-utils/default-model"),
|
||||
fetchSS("/admin/persona/utils/list-available-models"),
|
||||
fetchSS("/admin/persona/utils/default-model"),
|
||||
]);
|
||||
|
||||
if (!personaResponse.ok) {
|
||||
|
@@ -62,5 +62,5 @@ export function buildFinalPrompt(
|
||||
)
|
||||
.join("&");
|
||||
|
||||
return fetch(`/api/persona-utils/prompt-explorer?${queryString}`);
|
||||
return fetch(`/api/persona/utils/prompt-explorer?${queryString}`);
|
||||
}
|
||||
|
@@ -11,8 +11,8 @@ export default async function Page() {
|
||||
const [documentSetsResponse, llmOverridesResponse, defaultLLMResponse] =
|
||||
await Promise.all([
|
||||
fetchSS("/manage/document-set"),
|
||||
fetchSS("/persona-utils/list-available-models"),
|
||||
fetchSS("/persona-utils/default-model"),
|
||||
fetchSS("/admin/persona/utils/list-available-models"),
|
||||
fetchSS("/admin/persona/utils/default-model"),
|
||||
]);
|
||||
|
||||
if (!documentSetsResponse.ok) {
|
||||
|
Reference in New Issue
Block a user