Make sure you have the environment variables set for OPENAI_MODEL and OPENAI_API_KEY in your .env file.