Theo Kanning

Results 38 comments of Theo Kanning

I saw a couple other similar questions so I added an explicit null check to OpenAiService :+1:

Is this still happening? Can you post your request object code?

Closing this because it's already possible to set the base url via `Retrofit.newBuilder`. I don't want to add any features just to circumvent OpenAI's deliberate country restrictions

I added a section to the README on how to set up a proxy https://github.com/TheoKanning/openai-java#adding-a-proxy Let me know if that helps!

I also think that okhttp and retrofit are thread safe, so OpenAiService should be too.

The new `ChatCompletionRequest` object has what you're looking for :+1:

Added streaming in https://github.com/TheoKanning/openai-java/pull/195