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