Skip to content

Commit 7942a05

Browse files
authored
migrating to firebase_ai package (#113)
* initial port * updated for firebase init * updates for ios * updated changelog and readme * tweaked the function call example * example updates * place-holder firebase_options.dart * fixing changelog link; filling is missing docs (or removing the need for them).
1 parent e2714b2 commit 7942a05

36 files changed

+476
-688
lines changed

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,34 @@
7878
"type": "dart",
7979
"program": "lib/logging/logging.dart",
8080
},
81+
{
82+
"name": "on cancel",
83+
"cwd": "example",
84+
"request": "launch",
85+
"type": "dart",
86+
"program": "lib/callbacks/on_cancel.dart",
87+
},
88+
{
89+
"name": "on error",
90+
"cwd": "example",
91+
"request": "launch",
92+
"type": "dart",
93+
"program": "lib/callbacks/on_error.dart",
94+
},
8195
{
8296
"name": "function calls",
8397
"cwd": "example",
8498
"request": "launch",
8599
"type": "dart",
86100
"program": "lib/function_calls/function_calls.dart",
87101
},
102+
{
103+
"name": "restricted",
104+
"cwd": "example",
105+
"request": "launch",
106+
"type": "dart",
107+
"program": "lib/restricted/restricted.dart",
108+
},
88109
{
89110
"name": "recipes",
90111
"cwd": "example",

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 0.8.1
1+
## 0.9.0
22
* added support for tool calls to the Gemini and Vertex providers. Check out the
33
new `function_calls` example to see it in action. Thanks to @toshiossada for
44
[the inspiration](https://github.com/flutter/ai/pull/99). Fixes
@@ -10,6 +10,13 @@
1010
* fixed [#102](https://github.com/flutter/ai/issues/102): migration from
1111
flutter_markdown to flutter_markdown_plus
1212

13+
* fixed [#109](https://github.com/flutter/ai/issues/109): [task] migrate
14+
to firebase_ai. This is a breaking change, since it removes both
15+
`GeminiProvider` and `VertexProvider` and replaces it with `FirebaseProvider`.
16+
See README.md for migration details.
17+
18+
* removed online demo -- no longer able to bring-your-own-API-key
19+
1320
## 0.8.0
1421
* fixed [#90](https://github.com/flutter/ai/issues/90): Input box
1522
shrinks unexpectedly when clicking file attachment button – customization not

0 commit comments

Comments
 (0)