enzostvs HF Staff commited on
Commit
9df383b
·
1 Parent(s): adb0539
components/ask-ai/ask-ai.tsx CHANGED
@@ -40,11 +40,11 @@ export function AskAI({
40
  }) {
41
  const contentEditableRef = useRef<HTMLDivElement | null>(null);
42
  const [model = DEFAULT_MODEL, setModel] = useLocalStorage<string>(
43
- "model",
44
  DEFAULT_MODEL
45
  );
46
  const [provider, setProvider] = useLocalStorage<ProviderType>(
47
- "provider",
48
  "auto" as ProviderType
49
  );
50
 
 
40
  }) {
41
  const contentEditableRef = useRef<HTMLDivElement | null>(null);
42
  const [model = DEFAULT_MODEL, setModel] = useLocalStorage<string>(
43
+ "deepsite-model",
44
  DEFAULT_MODEL
45
  );
46
  const [provider, setProvider] = useLocalStorage<ProviderType>(
47
+ "deepsite-provider",
48
  "auto" as ProviderType
49
  );
50
 
components/pro-modal/index.tsx CHANGED
@@ -1,4 +1,3 @@
1
- import { useLocalStorage } from "react-use";
2
  import { Button } from "@/components/ui/button";
3
  import { Dialog, DialogContent, DialogTitle } from "@/components/ui/dialog";
4
  import { CheckCheck } from "lucide-react";
 
 
1
  import { Button } from "@/components/ui/button";
2
  import { Dialog, DialogContent, DialogTitle } from "@/components/ui/dialog";
3
  import { CheckCheck } from "lucide-react";