You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The com.openai.client.OpenAIClient has no close() method.
Please implement it!
Better: implement AutoClosable
Additional info: com.openai.client.okhttp.OkHttpClient has public void close()
Running my code using OpenAIClient I get (sometimes) this text in log:
okhttp3.OkHttpClient A connection to <url> was leaked. Did you forget to close a response body? To see where this was allocated, set the OkHttpClient logger level to FINE: Logger.getLogger(OkHttpClient.class.getName()).setLevel(Level.FINE);
It can be that my code is not correct: having OpenAIClient.close() would prevent this.
The text was updated successfully, but these errors were encountered:
The
com.openai.client.OpenAIClient
has no close() method.Please implement it!
Better: implement AutoClosable
Additional info:
com.openai.client.okhttp.OkHttpClient
haspublic void close()
Running my code using OpenAIClient I get (sometimes) this text in log:
It can be that my code is not correct: having OpenAIClient.close() would prevent this.
The text was updated successfully, but these errors were encountered: