import React from "react"; import { App, Modal } from "obsidian"; import { createRoot } from "react-dom/client"; import { Root } from "react-dom/client"; import { Button } from "@/components/ui/button"; import { DEFAULT_COPILOT_PLUS_CHAT_MODEL, DEFAULT_COPILOT_PLUS_EMBEDDING_MODEL, DEFAULT_COPILOT_PLUS_EMBEDDING_MODEL_KEY, applyPlusSettings, } from "@/plusUtils"; import { getSettings } from "@/settings/model"; import { TriangleAlert } from "lucide-react"; function CopilotPlusWelcomeModalContent({ onConfirm, onCancel, }: { onConfirm: () => void; onCancel: () => void; }) { const settings = getSettings(); return (
Thanks for purchasing Copilot Plus! You have unlocked the full power of Copilot, featuring chat context, PDF and image support, exclusive chat and embedding models, and much more!
Would you like to apply the Copilot Plus settings now? You can always change this later in Settings.