Skip to content

Commit

Permalink
Fix Schema.number factory ignoring format field
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmigloz committed May 14, 2024
1 parent 04c56e4 commit fc5bc08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkgs/google_generative_ai/lib/src/function_calling.dart
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ final class Schema {
SchemaType.number,
description: description,
nullable: nullable,
format: format,
);

/// Construct a schema for an integer number.
Expand Down

0 comments on commit fc5bc08

Please sign in to comment.