Move test run back to repo root. weirdness occurred
This commit is contained in:
12
scripts/test_run.sh → test_run.sh
Normal file → Executable file
12
scripts/test_run.sh → test_run.sh
Normal file → Executable file
@@ -13,21 +13,11 @@ PROMPT="$1"
|
|||||||
# Set debug mode for web tools
|
# Set debug mode for web tools
|
||||||
export WEB_TOOLS_DEBUG=true
|
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
|
# Run the agent with the provided prompt
|
||||||
python run_agent.py \
|
python run_agent.py \
|
||||||
--query "$PROMPT" \
|
--query "$PROMPT" \
|
||||||
--max_turns 30 \
|
--max_turns 30 \
|
||||||
--model claude-sonnet-4-20250514 \
|
--model claude-sonnet-4-5-20250929 \
|
||||||
--base_url https://api.anthropic.com/v1/ \
|
--base_url https://api.anthropic.com/v1/ \
|
||||||
--api_key $ANTHROPIC_API_KEY \
|
--api_key $ANTHROPIC_API_KEY \
|
||||||
--save_trajectories \
|
--save_trajectories \
|
||||||
Reference in New Issue
Block a user