Spaces:
Sleeping
Sleeping
| # Generate agent directories and system prompts for all UN member states | |
| set -e # Exit on error | |
| echo "π€ Generating UN Delegate Agents" | |
| echo "================================" | |
| echo "" | |
| # Check if virtual environment exists | |
| if [ ! -d ".venv" ]; then | |
| echo "β Error: Virtual environment not found" | |
| echo "Please run ./scripts/setup.sh first" | |
| exit 1 | |
| fi | |
| # Check if data file exists | |
| if [ ! -f "data/united-nations-membership-status.json" ]; then | |
| echo "β Error: UN membership data not found" | |
| echo "Expected: data/united-nations-membership-status.json" | |
| exit 1 | |
| fi | |
| # Run the generation script | |
| echo "π Creating agent directories..." | |
| .venv/bin/python3 generate_agents.py | |
| echo "" | |
| echo "β Agent generation complete" | |
| echo "" | |