File size: 762 Bytes
8c1f582
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
# 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 ""