Unclear 404 error when model is unavailable
lukehoban opened this issue · comments
A user reports:
It appears this is the error reported when the OPENAI_MODEL is not available. This can happen for two reasons:
- The default is
gpt-4
, but that model is in preview, and users must have requested access to the model to be able to use this. - Users may specify an invalid model name in
OPENAI_MODEL
.
In both cases, we should surface a more helpful error.