Move test run back to repo root. weirdness occurred

This commit is contained in:
teknium
2025-10-02 20:05:09 +00:00
parent a7ff4d49e9
commit c42d9055ed

12
scripts/test_run.sh → test_run.sh Normal file → Executable file
View File

@@ -13,21 +13,11 @@ PROMPT="$1"
# Set debug mode for web tools
export WEB_TOOLS_DEBUG=true
# Resolve repository root relative to this script and run from there
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
REPO_ROOT="$(cd "$SCRIPT_DIR/.." && pwd)"
cd "$REPO_ROOT"
# Prefer local venv if present
if [ -f "venv/bin/activate" ]; then
source venv/bin/activate
fi
# Run the agent with the provided prompt
python run_agent.py \
--query "$PROMPT" \
--max_turns 30 \
--model claude-sonnet-4-20250514 \
--model claude-sonnet-4-5-20250929 \
--base_url https://api.anthropic.com/v1/ \
--api_key $ANTHROPIC_API_KEY \
--save_trajectories \