From 4013ffbe2f125cb64c70d18b43f67903773bf7e0 Mon Sep 17 00:00:00 2001 From: "Eng. Elias" Date: Mon, 25 Mar 2024 01:09:20 +0400 Subject: [PATCH] minor fixes --- .gitignore | 3 +++ README.md | 7 ------- src/app/agents/page.tsx | 2 +- src/components/inputs/mission_tasks_editor.tsx | 2 ++ src/components/modals/agent_modal.tsx | 4 ++-- start_linux_mac.sh | 2 +- start_win.bat | 2 +- 7 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 91e9c48..d88dbd2 100644 --- a/.gitignore +++ b/.gitignore @@ -42,3 +42,6 @@ __pycache__/ # PyCharm .idea/ + +# Images +agents_images/ diff --git a/README.md b/README.md index 8aa5138..3d7caee 100644 --- a/README.md +++ b/README.md @@ -86,13 +86,6 @@ For developers: npm run dev ``` - OR build the project and run the production server: - - ```bash - npm run build - npm start - ``` - 6. **Access the App**: Once the development server is running, access the app in your browser at `http://localhost:3000`. ## Usage diff --git a/src/app/agents/page.tsx b/src/app/agents/page.tsx index 914b562..8b89517 100644 --- a/src/app/agents/page.tsx +++ b/src/app/agents/page.tsx @@ -90,7 +90,7 @@ const AgentsPage = () => { i % 2 == 0 ? "lg:flex-row" : "lg:flex-row-reverse" } rounded overflow-hidden h-auto min-h-52 border`} > - Agent = ({ onMissionChange(updatedMission); setNewTaskName(""); setNewTaskDescription(""); + setNewTaskExpectedOutput(""); + setNewTaskAgent(null); }; const handleRemoveTask = (index: number) => { diff --git a/src/components/modals/agent_modal.tsx b/src/components/modals/agent_modal.tsx index 84c1155..2a812ef 100644 --- a/src/components/modals/agent_modal.tsx +++ b/src/components/modals/agent_modal.tsx @@ -372,7 +372,7 @@ export default function AgentModal(props: { {selectedImage && ( - Agent Image ) : ( -