Skip to content

Commit da62a93

Browse files
committed
Formatting
1 parent ec7b9b9 commit da62a93

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

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

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

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

179178
Map(
180179
"type" -> "json_schema",

0 commit comments

Comments
 (0)