diff --git a/gui/src/components/dialogs/FTCDialog.tsx b/gui/src/components/dialogs/FTCDialog.tsx deleted file mode 100644 index 951ea47ef..000000000 --- a/gui/src/components/dialogs/FTCDialog.tsx +++ /dev/null @@ -1,72 +0,0 @@ -import React, { useContext } from "react"; -import { useDispatch } from "react-redux"; -import { useNavigate } from "react-router-dom"; -import styled from "styled-components"; -import { Button, Input } from ".."; -import { IdeMessengerContext } from "../../context/IdeMessenger"; -import { setDefaultModel } from "../../redux/slices/stateSlice"; -import { setShowDialog } from "../../redux/slices/uiStateSlice"; -import { FREE_TRIAL_LIMIT_REQUESTS } from "../../util/freeTrial"; - -const GridDiv = styled.div` - display: grid; - grid-template-columns: 1fr 1fr; - grid-gap: 8px; - align-items: center; -`; - -export const ftl = () => { - // const ftc = parseInt(localStorage.getItem("ftc")); - return 50; -}; - -function FTCDialog() { - const navigate = useNavigate(); - const [apiKey, setApiKey] = React.useState(""); - const dispatch = useDispatch(); - const ideMessenger = useContext(IdeMessengerContext); - - return ( -
- You've reached the free trial limit of {FREE_TRIAL_LIMIT_REQUESTS} free - inputs. To keep using Continue, you can either use your own API key, or - use a local LLM. To read more about the options, see our{" "} - - documentation - - . -
- - setApiKey(e.target.value)} - /> -- To keep using Continue after your free inputs, you can either use your - own API key, or use a local LLM. To read more about the options, see our{" "} - - ideMessenger.request( - "openUrl", - "https://docs.continue.dev/reference/Model%20Providers/freetrial", - ) - } - > - documentation - - . -
- - setApiKey(e.target.value)} - /> - -