danny-avila / LibreChat

Enhanced ChatGPT Clone: Features OpenAI, Assistants API, Azure, Groq, GPT-4 Vision, Mistral, Bing, Anthropic, OpenRouter, Vertex AI, Gemini, AI model switching, message search, langchain, DALL-E-3, ChatGPT Plugins, OpenAI Functions, Secure Multi-User System, Presets, completely open-source for self-hosting. More features in development
https://librechat.ai/
MIT License
15.28k stars 2.54k forks source link

I can't use chatgpt #28

Closed playdasegunda closed 1 year ago

playdasegunda commented 1 year ago

I don't know why but when I try to chat with chatgpt-clone I get error, this is the error:

1 2

my .env file: 3

I can't use any options: ChatGPT, CustomGPT$..

What could be causing this problem?

danny-avila commented 1 year ago

Looks like you are setting CHATGPT_TOKEN to your API key instead of your access token for the free version. Read the instructions here on how to get your user token for the free version. https://github.com/danny-avila/chatgpt-clone#access-tokens

Set your API key ( what you currently have under CHATGPT_TOKEN) to OPENAI_key