Skip to content

Commit 8f54b36

Browse files
Update FirebaseVertexAI/Sources/Types/Public/Schema.swift
Co-authored-by: Andrew Heard <andrewheard@google.com>
1 parent 67e6bdd commit 8f54b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebaseVertexAI/Sources/Types/Public/Schema.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ public final class Schema: Sendable {
228228
format: "float",
229229
description: description,
230230
nullable: nullable,
231-
minimum: minimum,
232-
maximum: maximum
231+
minimum: minimum.map { Double($0) },
232+
maximum: maximum.map { Double($0) }
233233
)
234234
}
235235

0 commit comments

Comments
 (0)