Closed bozzy01 closed 1 year ago
Do you have billing enabled for OpenAI API usage? It looks like the network request is successful but is being deemed invalid
other relevant notes would be how you're running docker on the Pi, frontend screenshots before/after you send a message, that is, when are you getting the error?
I double checked, I am setup for billing on OpenAPI. I can run LibreChat fine from my M1 Mac with the API Keys. I just checked and the API does work doing a curl Authorization API test from the container. So, the API itself does not appear to be the issue, but transmitting it to openai must be the problem.
my docker-compose settings under api are:
I changed 3080 to 3080:3080 so I can access LibreChat on the Raspberry Pi otherwise I could not access it.
` api: container_name: LibreChat ports:
restart: always extra_hosts: # if you are running APIs on docker you need access to, you will need to uncomment this line and next
Contact Details
dancab@hey.com
What happened?
I am trying to get OpenAI to work inside a Docker container on my Raspberry Pi. My Google PaLM works fine and OpenAI works fine from my mac..
For some reason I am getting the error below. I have verified the .env file has the correct API key inside the container.
Other relevant details; On mac when I run it I get gear icons when changing models to look at some settings or import a .json for google PaLM. On Raspberry Pi I do not get that option on any of the models including google, but google does work with the .json key in the /api/data folder. I have Pi hole running outside of docker , so that is on port :80 not sure if that is causing an issue here. I also have homebridge running outside of docker.
NOTE: I removed the API Key fully with *'s in the output log below, but it does show the correct beginning and end of my key on my end.
Steps to Reproduce
What browsers are you seeing the problem on?
Safari
Relevant log output
Screenshots
No response
Code of Conduct