This is a custom client for the ChatGPT API.
Caution
This is just a client for local testing, do not put your API key in a public environment!
Insert your ChatGPT API key and the GPT Host you are using into your terminal
echo '# ChatGPT' >> ~/.bashrc
echo 'export GPT_TOKEN="YOUR_API_KEY"' >> ~/.bashrc
echo 'export GPT_HOST="YOUR_HOST"' >> ~/.bashrc
source ~/.bashrc
source ~/.bashrc
echo '# ChatGPT' >> ~/.zshrc
echo 'export GPT_TOKEN="YOUR_API_KEY"' >> ~/.zshrc
echo 'export GPT_HOST="YOUR_HOST"' >> ~/.zshrc
source ~/.zshrc
source ~/.zshrc
pnpm install
pnpm dev
pnpm build