Skip to content

Commit 7d70fc0

Browse files
committed
JsonSchema compilation fix
1 parent 5d62f95 commit 7d70fc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openai-core/src/test/scala/io/cequence/openaiscala/domain/responsesapi/JsonFormatsSpecs.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3475,7 +3475,7 @@ class JsonFormatsSpecs extends AnyWordSpecLike with Matchers {
34753475
tools = Seq(
34763476
FunctionTool(
34773477
name = "get_current_weather",
3478-
parameters = JsonSchema.Object(
3478+
parameters = JsonSchema.ObjectAsMap(
34793479
properties = Map(
34803480
"location" -> JsonSchema.String(
34813481
description = Some("The city and state, e.g. San Francisco, CA")

0 commit comments

Comments
 (0)