Files
2026-07-13 12:58:18 +08:00

14 lines
312 B
Bash

#!/bin/bash
# Navigate to the agent directory
cd "agent" || exit 1
echo "$(dirname "$0")/agent"
# Create virtual environment if it doesn't exist
if [ ! -d ".venv" ]; then
python3 -m venv .venv || python -m venv .venv
fi
# Activate the virtual environment
source .venv/bin/activate
(poetry install --no-root)