fleet-memory/scripts/benchmarks/run-locomo.sh
2025-11-26 18:22:25 +01:00

24 lines
469 B
Bash
Executable file

#!/bin/bash
set -e
cd "$(dirname "$0")/../.."
# Parse --env argument to source the right env file
ARGS=("$@")
ENV_FILE=".env"
if [ ! -f "$ENV_FILE" ]; then
echo "Error: Environment file $ENV_FILE not found"
exit 1
fi
echo "🚀 Starting LoComo Benchmark"
echo "📄 Loading environment from $ENV_FILE"
echo ""
# Export all variables from env file
set -a
source "$ENV_FILE"
set +a
uv run python hindsight-dev/benchmarks/locomo/locomo_benchmark.py "${ARGS[@]}"