File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
src/main/kotlin/com/cjcrafter/openai Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import com.github.breadmoirai.githubreleaseplugin.GithubReleaseTask
22
33group = " com.cjcrafter"
4- version = " 1.3.1 "
4+ version = " 1.3.2 "
55
66plugins {
77 `java- library`
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ open class OpenAI @JvmOverloads constructor(
9797 try {
9898 val httpResponse = client.newCall(httpRequest).execute()
9999 lateinit var response: CompletionResponse
100- OpenAICallback (true , { throw it }) {
100+ OpenAICallback (false , { throw it }) {
101101 response = gson.fromJson(it, CompletionResponse ::class .java)
102102 }.onResponse(httpResponse)
103103
@@ -247,7 +247,7 @@ open class OpenAI @JvmOverloads constructor(
247247 try {
248248 val httpResponse = client.newCall(httpRequest).execute()
249249 lateinit var response: ChatResponse
250- OpenAICallback (true , { throw it }) {
250+ OpenAICallback (false , { throw it }) {
251251 response = gson.fromJson(it, ChatResponse ::class .java)
252252 }.onResponse(httpResponse)
253253
You can’t perform that action at this time.
0 commit comments