Skip to content

Commit 7bc9da5

Browse files
committed
Allows the user to build Timeout depending on the use case
1 parent 8ee39ac commit 7bc9da5

File tree

1 file changed

+1
-1
lines changed
  • openai/src/commonMain/kotlin/com/xebia/functional/xef/conversation/llm/openai

1 file changed

+1
-1
lines changed

openai/src/commonMain/kotlin/com/xebia/functional/xef/conversation/llm/openai/OpenAI.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class OpenAI(
3535
internal var timeout: Timeout = Timeout.default()
3636
) : AutoCloseable, AutoClose by autoClose() {
3737

38-
class Timeout private constructor(
38+
class Timeout(
3939
val request: Duration,
4040
val connect: Duration,
4141
val socket: Duration,

0 commit comments

Comments
 (0)