render docs inline as '', useOnboarding false in all logins

This commit is contained in:
Dallin Romney 2025-02-25 23:49:38 -08:00
parent 086965c600
commit f9f6b993b3
4 changed files with 4 additions and 4 deletions

View file

@ -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: "<docs-context-provider>",
renderInlineAs: "",
};
constructor(options: any) {

View file

@ -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);
}

View file

@ -88,7 +88,7 @@ export function AssistantSelectOptions({
<div className="mt-auto w-full">
<OptionDiv
key={"new-assistant"}
onClick={session ? onNewAssistant : () => login(true)}
onClick={session ? onNewAssistant : () => login(false)}
>
<div
className="flex items-center py-0.5"

View file

@ -273,7 +273,7 @@ function ConfigPage() {
orgSlug: selectedOrganization?.slug,
});
} else {
login(true);
login(false);
}
}}
>