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 1
1
package com.cjcrafter.openai
2
2
3
- import ChatChoiceChunkAdapter
3
+ import com.cjcrafter.openai.gson. ChatChoiceChunkAdapter
4
4
import com.cjcrafter.openai.chat.*
5
5
import com.cjcrafter.openai.exception.OpenAIError
6
6
import com.cjcrafter.openai.exception.WrappedIOError
@@ -10,12 +10,10 @@ import com.google.gson.Gson
10
10
import com.google.gson.GsonBuilder
11
11
import com.google.gson.JsonObject
12
12
import com.google.gson.JsonParser
13
- import com.google.gson.JsonSerializer
14
13
import okhttp3.*
15
14
import okhttp3.MediaType.Companion.toMediaType
16
15
import okhttp3.RequestBody.Companion.toRequestBody
17
16
import java.io.IOException
18
- import java.lang.IllegalArgumentException
19
17
import java.util.function.Consumer
20
18
21
19
/* *
Original file line number Diff line number Diff line change
1
+ package com.cjcrafter.openai.gson
2
+
1
3
import com.cjcrafter.openai.FinishReason
2
4
import com.cjcrafter.openai.chat.ChatChoiceChunk
3
5
import com.cjcrafter.openai.chat.ChatMessage
You can’t perform that action at this time.
0 commit comments