Getting a "sk is not defined" error
rnhurt opened this issue · comments
Hi @rnhurt
It sounds a bit like you haven't added quotes around your API key. The OpenAI API keys start with sk-
and without quotes it would create an arithemtic expression of two undefined vars.
You were absolutely correct. My apiKey.js
was malformed. Once I corrected that it started working.
Thanx!