Skip to content

Commit acc69b8

Browse files
committed
remove the stream option from the chat request builder
1 parent 34bb3ce commit acc69b8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ data class ChatRequest @JvmOverloads internal constructor(
5151
private var responseFormat: ChatResponseFormat? = null
5252
private var seed: Int? = null
5353
private var stop: String? = null
54-
private var stream: Boolean? = null
5554
private var temperature: Float? = null
5655
private var topP: Float? = null
5756
private var tools: MutableList<Tool>? = null
@@ -68,7 +67,6 @@ data class ChatRequest @JvmOverloads internal constructor(
6867
fun responseFormat(responseFormat: ChatResponseFormat) = apply { this.responseFormat = responseFormat }
6968
fun seed(seed: Int) = apply { this.seed = seed }
7069
fun stop(stop: String) = apply { this.stop = stop }
71-
fun stream(stream: Boolean) = apply { this.stream = stream }
7270
fun temperature(temperature: Float) = apply { this.temperature = temperature }
7371
fun topP(topP: Float) = apply { this.topP = topP }
7472
fun tools(tools: MutableList<Tool>) = apply { this.tools = tools }
@@ -126,7 +124,6 @@ data class ChatRequest @JvmOverloads internal constructor(
126124
responseFormat = responseFormat,
127125
seed = seed,
128126
stop = stop,
129-
stream = stream,
130127
temperature = temperature,
131128
topP = topP,
132129
tools = tools,

0 commit comments

Comments
 (0)