use pydantic
This commit is contained in:
6
web/scripts/run-agent.bat
Normal file
6
web/scripts/run-agent.bat
Normal file
@@ -0,0 +1,6 @@
|
||||
@echo off
|
||||
REM Navigate to the agent directory
|
||||
cd /d %~dp0\..\agent
|
||||
|
||||
REM Run the agent using uv
|
||||
uv run src/main.py
|
||||
7
web/scripts/run-agent.sh
Executable file
7
web/scripts/run-agent.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Navigate to the agent directory
|
||||
cd "$(dirname "$0")/../agent" || exit 1
|
||||
|
||||
# Run the agent using uvicorn with reload for development
|
||||
uv run uvicorn src.main:app --host 127.0.0.1 --port 8000 --reload
|
||||
@@ -2,5 +2,5 @@
|
||||
REM Navigate to the agent directory
|
||||
cd /d "%~dp0\..\agent" || exit /b 1
|
||||
|
||||
REM Install dependencies using uv
|
||||
REM Install dependencies and create virtual environment using uv
|
||||
uv sync
|
||||
@@ -3,5 +3,5 @@
|
||||
# Navigate to the agent directory
|
||||
cd "$(dirname "$0")/../agent" || exit 1
|
||||
|
||||
# Install dependencies using uv
|
||||
# Install dependencies and create virtual environment using uv
|
||||
uv sync
|
||||
|
||||
Reference in New Issue
Block a user