tandem_firebase_ai 0.2.0
tandem_firebase_ai: ^0.2.0 copied to clipboard
Add an AI agent to Flutter screens with Tandem and Firebase AI Logic, without an agent backend. Gemini reads what a screen lists and proposes calls of its methods.
0.2.0 #
- Breaking: Upgrade
tandemto 0.4.0 with it:tandem_firebase_aidepends ontandem0.4.0 or a later 0.4.x release. - The README links to
doc/checks.jsonfor the models and Firebase backends each release ran on, in place of the two models it named. - The description on pub.dev says the adapter needs no agent backend, and the topics add
genui,generative-aiandfunction-calling.
0.1.1 #
idleTimeoutis 120 seconds by default. Before, it was 60 seconds, andgemini-3.6-flashcan take longer to send its first bytes.- A run that gets an error page that is not JSON, such as the HTML page of a gateway, fails with the HTTP status in its message. Before, the message was a
FormatExceptionthat quoted the page. - The README names the models the connection is tested on:
gemini-3.5-flash-liteandgemini-3.6-flash. - A
TandemViewcatalog works through thetandem_show_viewtool. It is checked on both models.
0.1.0 #
FirebaseConnectionconnects a Tandem screen to Gemini through Firebase AI Logic, without an agent backend. Each run sends the screen's current.seesvalues and offers its methods to the model as tools.- The model streams text to the chat and proposes calls of the methods. Tandem checks each call and runs it in the app, a
.callsWithApprovalmethod only after the user approves it. - The next run sends the model the results of the calls and the user's decisions.
- Stop aborts the run's HTTP request. A failed run reports a
FirebaseErrorCode. tandem_firebase_aidepends onfirebase_ai5.2 or a later 5.x release and ontandem0.3.3 or a later 0.3.x release.