Skip to content

Commit

Permalink
Update core/src/commonMain/kotlin/com/xebia/functional/xef/Config.kt
Browse files Browse the repository at this point in the history
Co-authored-by: Javier Pérez Pacheco <[email protected]>
  • Loading branch information
raulraja and javipacheco authored May 30, 2024
1 parent 984e97d commit 5c0eea3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fun OpenAI(
val token =
config.token
?: getenv(KEY_ENV_VAR)
?: "<not-provided>" // throw AIError.Env.OpenAI(nonEmptyListOf("missing $KEY_ENV_VAR env
?: "<not-provided>"
// var"))
val clientConfig: HttpClientConfig<*>.() -> Unit = {
install(ContentNegotiation) { json(config.json) }
Expand Down

0 comments on commit 5c0eea3

Please sign in to comment.