jaluoma / pruju-ai

An AI teaching assistant that allows students to interact with the teacher's course materials
MIT License
42 stars 16 forks source link

requests.exceptions.ProxyError: HTTPSConnectionPool(host='openaipublic.blob.core.windows.net', port=443) #3

Closed fishfree closed 9 months ago

fishfree commented 9 months ago

This error is caused by my networking. But I explicitly set LLM_PROVIDER="openai" and MODEL_NAME="gpt-4" in .env file. Why does it still request from Azure API?

jaluoma commented 9 months ago

Strange. I am unable to reproduce this. This works for me:

LLM_PROVIDER="openai"
MODEL_NAME="gpt-4"
OPENAI_API_KEY="secret-key"
fishfree commented 9 months ago

Now it works as expected. I don't why. Let it go.