From f9f6b993b38296d46e5403ef7bff032ec01088c6 Mon Sep 17 00:00:00 2001 From: Dallin Romney Date: Tue, 25 Feb 2025 23:49:38 -0800 Subject: [PATCH] render docs inline as '', useOnboarding false in all logins --- core/context/providers/DocsContextProvider.ts | 2 +- gui/src/components/OnboardingCard/platform/tabs/main.tsx | 2 +- .../modelSelection/platform/AssistantSelectOptions.tsx | 2 +- gui/src/pages/config/index.tsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/core/context/providers/DocsContextProvider.ts b/core/context/providers/DocsContextProvider.ts index cb8e926d5..f4b816f33 100644 --- a/core/context/providers/DocsContextProvider.ts +++ b/core/context/providers/DocsContextProvider.ts @@ -23,7 +23,7 @@ class DocsContextProvider extends BaseContextProvider { // Todo: consider a different renderInline so that when multiple docs are referenced in one message, // Or the doc has an odd name unrelated to the content // The name of the doc itself doesn't skew the embedding results - // renderInlineAs: "", + renderInlineAs: "", }; constructor(options: any) { diff --git a/gui/src/components/OnboardingCard/platform/tabs/main.tsx b/gui/src/components/OnboardingCard/platform/tabs/main.tsx index 8ca75b1e3..b666f2fae 100644 --- a/gui/src/components/OnboardingCard/platform/tabs/main.tsx +++ b/gui/src/components/OnboardingCard/platform/tabs/main.tsx @@ -19,7 +19,7 @@ export default function MainTab({ const auth = useAuth(); function onGetStarted() { - auth.login(true).then((success) => { + auth.login(false).then((success) => { if (success) { onboardingCard.close(isDialog); } diff --git a/gui/src/components/modelSelection/platform/AssistantSelectOptions.tsx b/gui/src/components/modelSelection/platform/AssistantSelectOptions.tsx index b98cf364b..c0b7e6071 100644 --- a/gui/src/components/modelSelection/platform/AssistantSelectOptions.tsx +++ b/gui/src/components/modelSelection/platform/AssistantSelectOptions.tsx @@ -88,7 +88,7 @@ export function AssistantSelectOptions({
login(true)} + onClick={session ? onNewAssistant : () => login(false)} >