Tolga Gerekci
Tolga Gerekci
Just like @agowa338 said, setting the hostname explicitly works.
If you are talking about OpenAI organizations, you can provide it to the second `configuration` parameter of the constructors of `OpenAI` or `ChatOpenAI` classes. ```ts new ChatOpenAI({ modelName: "gpt-3.5-turbo" },...
Instead of using OpenAI class which uses `text-davinci-003` by default, maybe try to use ChatOpenAI which uses `gpt-3.5-turbo` by default. I found that while davinci model outputs very nice final...
I changed the code and made it directly return json or text error body. I still kept the old throw but now that thow only happens if the response status...