Reenable plus welcome dialog (#1204)

This commit is contained in:
Zero Liu 2025-02-05 15:42:54 -08:00 committed by GitHub
parent 5c84a103a0
commit 13224a2f54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -57,7 +57,7 @@ export function applyPlusSettings(): void {
defaultChainType: ChainType.COPILOT_PLUS_CHAIN,
});
if (previousEmbeddingModelKey !== embeddingModelKey) {
VectorStoreManager.getInstance().indexVaultToVectorStore(true);
VectorStoreManager.getInstance().indexVaultToVectorStore();
}
}

View file

@ -1,3 +1,4 @@
import { CopilotPlusWelcomeModal } from "@/components/modals/CopilotPlusWelcomeModal";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
import { PasswordInput } from "@/components/ui/password-input";
@ -58,8 +59,7 @@ export function PlusSettings() {
setError("Invalid license key");
} else {
setError(null);
// TODO: Reenable after fixing the server issue.
// new CopilotPlusWelcomeModal(app).open();
new CopilotPlusWelcomeModal(app).open();
}
}}
className="min-w-20"