File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
FirebaseVertexAI/Sources/Types/Public Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,8 @@ public class Schema {
178
178
public static func float( description: String ? = nil , nullable: Bool = false ) -> Schema {
179
179
return self . init (
180
180
type: . number,
181
- format: " float " ,
181
+ // TODO(andrewheard): Revert this change when the backend accepts "float" as a format again.
182
+ // format: "float",
182
183
description: description,
183
184
nullable: nullable
184
185
)
@@ -202,7 +203,8 @@ public class Schema {
202
203
public static func double( description: String ? = nil , nullable: Bool = false ) -> Schema {
203
204
return self . init (
204
205
type: . number,
205
- format: " double " ,
206
+ // TODO(andrewheard): Revert this change when the backend accepts "double" as a format again.
207
+ // format: "double",
206
208
description: description,
207
209
nullable: nullable
208
210
)
You can’t perform that action at this time.
0 commit comments