Create a .env file in the project root directory and add the following content (note that the variable name must start with VITE_, otherwise Vite will not expose them to the client code):
VITE_ANTHROPIC_API_KEY=your_anthropic_api_key_here
VITE_HF_ACCESS_TOKEN=your_hf_access_token_here
npm install
npm start
Head over to https://vitejs.dev/ to learn more about configuring vite
Happy Coding!