There was an error while loading. Please reload this page.
1 parent ec7b9b9 commit da62a93Copy full SHA for da62a93
openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala
@@ -170,11 +170,10 @@ trait ChatCompletionBodyMaker {
170
case Right(schema) => schema
171
}
172
173
- val adjustedSchema: Map[String, Any] =
174
- if (strict) {
175
- OpenAIChatCompletionExtra.toStrictSchema(structure)
176
- } else
177
- schemaMap
+ val adjustedSchema: Map[String, Any] = if (strict) {
+ OpenAIChatCompletionExtra.toStrictSchema(structure)
+ } else
+ schemaMap
178
179
Map(
180
"type" -> "json_schema",
0 commit comments