Skip to content

Commit 881d80e

Browse files
authored
use gemini-2.0-flash model (#100)
1 parent 407f95f commit 881d80e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vertexai/lib/main.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ class _ChatWidgetState extends State<ChatWidget> {
8888

8989
initFirebase().then((value) {
9090
_model = FirebaseVertexAI.instance.generativeModel(
91-
model: 'gemini-1.5-flash-preview-0514',
91+
model: 'gemini-2.0-flash',
9292
);
9393
_functionCallModel = FirebaseVertexAI.instance.generativeModel(
94-
model: 'gemini-1.5-flash-preview-0514',
94+
model: 'gemini-2.0-flash',
9595
tools: [
9696
Tool(functionDeclarations: [
9797
FunctionDeclaration(

0 commit comments

Comments
 (0)