Replies: 2 comments
-
@bringert Thanks for trying simple-openai. Using Meanwhile, I'm going to move your issue to the Discussion section. |
Beta Was this translation helpful? Give feedback.
0 replies
-
we need okhttp in android ,okhttp is better than httpclient |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
simple-openai depends on java.net.http.HttpClient which doesn't exist on Android. This causes any attempt to use the library on Android to fail with:
java.lang.ClassNotFoundException: Didn't find class "java.net.http.HttpClient"
Perhaps support could be added for using okhttp instead of java.net.http.HttpClient?
Beta Was this translation helpful? Give feedback.
All reactions