Skip to content

Commit cfdcf27

Browse files
committed
Formatting
1 parent 76e4b7e commit cfdcf27

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,11 @@ trait ChatCompletionBodyMaker {
170170
case Right(schema) => schema
171171
}
172172

173-
val adjustedSchema: Map[String, Any] = if (strict) {
174-
OpenAIChatCompletionExtra.toStrictSchema(structure)
175-
} else
176-
schemaMap
173+
val adjustedSchema: Map[String, Any] =
174+
if (strict)
175+
OpenAIChatCompletionExtra.toStrictSchema(structure)
176+
else
177+
schemaMap
177178

178179
Map(
179180
"type" -> "json_schema",

0 commit comments

Comments
 (0)