import React, { useContext } from "react"; import styled from "styled-components"; import { Button, Input } from ".."; import { useNavigate } from "react-router-dom"; import { GUIClientContext } from "../../App"; import { useDispatch } from "react-redux"; import { setShowDialog } from "../../redux/slices/uiStateSlice"; const GridDiv = styled.div` display: grid; grid-template-columns: 1fr 1fr; grid-gap: 8px; align-items: center; `; function FTCDialog() { const navigate = useNavigate(); const [apiKey, setApiKey] = React.useState(""); const client = useContext(GUIClientContext); const dispatch = useDispatch(); return (
You've reached the free trial limit of 250 free inputs with Continue's OpenAI API key. 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 . If you're just looking for fastest way to keep going, type '/config' to open your Continue config file and paste your API key into the OpenAIFreeTrial object.
setApiKey(e.target.value)} />