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 {
178178 public static func float( description: String ? = nil , nullable: Bool = false ) -> Schema {
179179 return self . init (
180180 type: . number,
181- format: " float " ,
181+ // TODO(andrewheard): Revert this change when the backend accepts "float" as a format again.
182+ // format: "float",
182183 description: description,
183184 nullable: nullable
184185 )
@@ -202,7 +203,8 @@ public class Schema {
202203 public static func double( description: String ? = nil , nullable: Bool = false ) -> Schema {
203204 return self . init (
204205 type: . number,
205- format: " double " ,
206+ // TODO(andrewheard): Revert this change when the backend accepts "double" as a format again.
207+ // format: "double",
206208 description: description,
207209 nullable: nullable
208210 )
You can’t perform that action at this time.
0 commit comments