We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76e4b7e commit cfdcf27Copy full SHA for cfdcf27
openai-client/src/main/scala/io/cequence/openaiscala/service/impl/OpenAIChatCompletionServiceImpl.scala
@@ -170,10 +170,11 @@ trait ChatCompletionBodyMaker {
170
case Right(schema) => schema
171
}
172
173
- val adjustedSchema: Map[String, Any] = if (strict) {
174
- OpenAIChatCompletionExtra.toStrictSchema(structure)
175
- } else
176
- schemaMap
+ val adjustedSchema: Map[String, Any] =
+ if (strict)
+ OpenAIChatCompletionExtra.toStrictSchema(structure)
+ else
177
+ schemaMap
178
179
Map(
180
"type" -> "json_schema",
0 commit comments