minor fixes
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -42,3 +42,6 @@ __pycache__/
|
||||
|
||||
# PyCharm
|
||||
.idea/
|
||||
|
||||
# Images
|
||||
agents_images/
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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`}
|
||||
>
|
||||
<Image
|
||||
<img
|
||||
className="block max-w-72 w-full lg:w-48 flex-none bg-cover mx-auto"
|
||||
src={agent.image ?? "/agents_images/sailor.png"}
|
||||
alt="Agent"
|
||||
|
||||
@@ -36,6 +36,8 @@ const MissionTaskEditor: React.FC<MissionTaskEditorProps> = ({
|
||||
onMissionChange(updatedMission);
|
||||
setNewTaskName("");
|
||||
setNewTaskDescription("");
|
||||
setNewTaskExpectedOutput("");
|
||||
setNewTaskAgent(null);
|
||||
};
|
||||
|
||||
const handleRemoveTask = (index: number) => {
|
||||
|
||||
@@ -372,7 +372,7 @@ export default function AgentModal(props: {
|
||||
</Button>
|
||||
</div>
|
||||
{selectedImage && (
|
||||
<Image
|
||||
<img
|
||||
// @ts-ignore
|
||||
src={selectedImage}
|
||||
alt="Agent Image"
|
||||
@@ -381,7 +381,7 @@ export default function AgentModal(props: {
|
||||
)}
|
||||
</>
|
||||
) : (
|
||||
<Image
|
||||
<img
|
||||
src={tempAgent?.image ?? "/agents_images/sailor.png"}
|
||||
alt="Agent Image"
|
||||
className="w-7/12 mx-auto rounded-lg"
|
||||
|
||||
@@ -6,4 +6,4 @@ open http://localhost:3000
|
||||
|
||||
# Run the project
|
||||
echo "Starting development server..."
|
||||
npm start
|
||||
npm run dev
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
REM Run the project
|
||||
echo Starting development server...
|
||||
start call npm start
|
||||
start call npm run dev
|
||||
|
||||
REM Wait for a few seconds to ensure the server is up and running
|
||||
timeout /t 2
|
||||
|
||||
Reference in New Issue
Block a user