AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Update AgentView to TaskView
hunteraraujod65e7ab830f8
diff --git a/lib/views/main_layout.dart b/lib/views/main_layout.dartindex 711edbe011..655e674987 100644--- a/lib/views/main_layout.dart+++ b/lib/views/main_layout.dart@@ -1,4 +1,4 @@-import 'package:auto_gpt_flutter_client/views/agent_view.dart';+import 'package:auto_gpt_flutter_client/views/task_view.dart';import 'package:auto_gpt_flutter_client/views/chat_view.dart';import 'package:flutter/cupertino.dart';@@ -15,7 +15,7 @@ class MainLayout extends StatelessWidget {// For larger screens, return a side-by-side layoutreturn const Row(children: [- SizedBox(width: 280, child: AgentView()),+ SizedBox(width: 280, child: TaskView()),Expanded(child: ChatView()),],);@@ -26,7 +26,7 @@ class MainLayout extends StatelessWidget {items: const <BottomNavigationBarItem>[BottomNavigationBarItem(icon: Icon(CupertinoIcons.person),- label: 'Agents',+ label: 'Tasks',),BottomNavigationBarItem(icon: Icon(CupertinoIcons.chat_bubble),@@ -41,7 +41,7 @@ class MainLayout extends StatelessWidget {case 0:returnValue = CupertinoTabView(builder: (context) {return const CupertinoPageScaffold(- child: AgentView(),+ child: TaskView(),);});break;diff --git a/lib/views/task_view.dart b/lib/views/task_view.dartindex 40f2e227a4..52a4c37866 100644--- a/lib/views/task_view.dart+++ b/lib/views/task_view.dart@@ -1,7 +1,7 @@import 'package:flutter/material.dart';-class AgentView extends StatelessWidget {- const AgentView({super.key});+class TaskView extends StatelessWidget {+ const TaskView({super.key});@overrideWidget build(BuildContext context) {