diff --git a/gemini_tasks/lib/main.dart b/gemini_tasks/lib/main.dart index 7c8d73b7f..fbc776f01 100644 --- a/gemini_tasks/lib/main.dart +++ b/gemini_tasks/lib/main.dart @@ -123,11 +123,6 @@ class _ExampleState extends State { model: 'gemini-pro', apiKey: widget.apiKey, requestOptions: const RequestOptions(apiVersion: 'v1beta'), - - // systemInstruction: Content.text( - // 'You are a task bot that can complete, add, ' - // 'and filter tasks for a todo style application.', - // ), tools: [ Tool( functionDeclarations: [ @@ -384,9 +379,10 @@ class _ExampleState extends State { child: TextField( controller: controller, decoration: textFieldDecoration( - context, - 'Try "Add a task for..." or "What are my ucompleted ' - 'tasks?"'), + context, + 'Try "Add a task for..."' + 'or "What are my uncompleted tasks?"', + ), onEditingComplete: sendMessage, onSubmitted: (value) => sendMessage(), ),