genkit_firebase_ai 1.0.1
genkit_firebase_ai: ^1.0.1 copied to clipboard
Genkit plugin for Firebase AI Logic. Call Gemini from Flutter apps with tools, structured output, grounding and Live sessions.
1.0.0 #
Breaking Changes #
- remove GeminiOptions.responseSchema in favour of responseJsonSchema (#736)
- remove the deprecated firebaseAiModelInfo (#735)
- move converters and Live helpers to lib/src and stop exporting them (#716)
- report Live sessions the server closes, and receive errors (#677)
- send tool input schemas verbatim as parametersJsonSchema (#666)
- map Gemini finish reasons to Genkit vocabulary (#608)
- map Firebase AI and HTTP errors to GenkitException with a status code (#615)
- remove unsupported responseLogprobs and logprobs from GeminiOptions (#606)
- send output schema verbatim as responseJsonSchema; forward the option (#612)
Features #
- send per-part speechMetadata for multi-speaker TTS (#737)
- add speechConfig, imageConfig and mediaResolution to GeminiOptions (#669)
- add Google Search, URL context and Google Maps grounding (#668)
- abort in-flight requests on cancellation (#667)
- give each known model its own label, stage and capabilities (#671)
- add safetySettings to GeminiOptions (#665)
- register the Firebase AI Logic model list in init() (#670)
- expose GeminiOptions as the generate models' options (#678)
- allow firebase_ai 5.x (#673)
- add thinkingLevel for Gemini 3.x; replace deprecated ThinkingConfig() (#614)
Fixes #
- report a malformed data: URL as INVALID_ARGUMENT (#697)
- send every Live system message as systemInstruction (#681)
- report unsupported parts as INVALID_ARGUMENT (#679)
- reject streaming with candidateCount > 1 (#676)
- leave absent token counts null instead of 0 (#675)
- send system messages as systemInstruction (#605)
- map code execution, file and unknown response parts instead of throwing (#607)
- map thoughts, cached and tool-use token counts into usage (#604)
- surface prompt block reason instead of StateError on empty candidates (#613)
- parse Live config through its schema and route media by type (#651)
- keep thought signatures when aggregating streamed parts (#650)
- omit responseMimeType when it is not set (#649)
- close the per-request http.Client when none is passed (#648)
Other Changes #
- add README caveats found in live testing (#738)
- document gemini-3.8-live on Agent Platform with a regional location (#723)
- refresh README for App Check enforcement, models and options (#664)
- note that Gemini 3 ignores or rejects the sampling options (#674)
0.4.0 #
0.3.0 #
Breaking Changes #
- type usage counts and indexes as int (#546)
- non-null input for Model/Embedder/Evaluator/Flow constructors (#536)
- generate plain JSON schema maps instead of json_schema_builder calls (#522)
- make constrained generation simulation an opt-in middleware (#519)
- simulate constrained generation when a model lacks native support (#453)
Fixes #
- stop pre-registering the retired gemini-2.5-pro (#509)
- honor the portable toolChoice option (#496)
Other Changes #
- temporarily pin analyzer below 14.5.0 (#625)
- add Genkit Dart agent skill install instructions to READMEs (#521)
- add example/ programs to genkit_chrome, genkit_firebase_ai, genkit_google_cloud (#505)
0.2.1 #
- updated internal dependencies.
0.2.0 #
Breaking Changes #
- redesign tool API around ToolResult + multipart, type actionType with ActionType (#350)
0.1.10 #
- updated internal dependencies.
0.1.9 #
Other Changes #
- update model references to gemini-flash-latest (#293)
- split schemantic into runtime and schemantic_builder packages (#292)
0.1.8 #
- updated internal dependencies.
0.1.6 #
Features #
- add additionalProperties support to @Schema and implement strict object validation (#251)
0.1.5 #
- updated internal dependencies.
0.1.4 #
- updated internal dependencies.
0.1.3 #
- updated internal dependencies.
0.1.2 #
- updated internal dependencies.
0.1.1+1 #
- Update a dependency to the latest release.
0.1.1 #
- bump missed genkit and schemantic versions.
0.1.0 #
- Graduate package to a stable release. See pre-releases prior to this version for changelog entries.
0.0.1-dev.3 #
- Updated dependencies.
0.0.1-dev.2 #
- Implemented/fixed tool calling and structured output for Gemini models.
0.0.1-dev.1 #
- Initial release.