Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e530097

Browse files
committed
Update to 1.2.0 (adds stream option)
1 parent 78a8af0 commit e530097

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

build.gradle.kts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import com.github.breadmoirai.githubreleaseplugin.GithubReleaseTask
22

33
group = "com.cjcrafter"
4-
version = "1.1.0"
4+
version = "1.2.0"
55

66
plugins {
77
`java-library`

src/main/kotlin/com/cjcrafter/openai/chat/ChatChoiceChunk.kt

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ import com.google.gson.JsonObject
2121
* @constructor Create a new chat choice, for internal usage.
2222
* @see FinishReason
2323
* @see ChatChoice
24+
* @since 1.2.0
2425
*/
2526
data class ChatChoiceChunk(val index: Int, val message: ChatMessage, var delta: String, var finishReason: FinishReason?) {
2627

src/main/kotlin/com/cjcrafter/openai/chat/ChatResponseChunk.kt

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import java.util.*
1919
* @property choices The list of generated messages.
2020
* @constructor Create Chat response (for internal usage).
2121
* @see ChatResponse
22+
* @since 1.2.0
2223
*/
2324
data class ChatResponseChunk(
2425
val id: String,

0 commit comments

Comments
 (0)