diff options
| author | Ben Sima <ben@bsima.me> | 2025-11-20 16:46:35 -0500 |
|---|---|---|
| committer | Ben Sima <ben@bsima.me> | 2025-11-20 16:50:29 -0500 |
| commit | 972e1b820b420b31b5020f53e92605cf53f90b11 (patch) | |
| tree | 201ed6938c8dead5ebaad380a79cc656be689883 /Omni | |
| parent | 11b2d12bf719aa5fbef7415325b117f620fe4963 (diff) | |
fix: capture worker agent logs to file
- Added --log-file amp.log to worker command - Allows users to monitor
agent progress with tail -f
Diffstat (limited to 'Omni')
| -rwxr-xr-x | Omni/Agent/start-worker.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Omni/Agent/start-worker.sh b/Omni/Agent/start-worker.sh index 0377585..bf5eef3 100755 --- a/Omni/Agent/start-worker.sh +++ b/Omni/Agent/start-worker.sh @@ -33,6 +33,8 @@ fi echo "Starting Worker Agent Loop" echo " Worker Path: $WORKER_PATH" echo " Amp Binary: $AMP_BIN" +echo " Log File: $WORKER_PATH/amp.log" +echo " Monitor: tail -f $WORKER_PATH/amp.log" echo " Press Ctrl+C to stop." cd "$WORKER_PATH" @@ -42,7 +44,7 @@ while true; do echo "----------------------------------------------------------------" echo "$(date): Starting new agent session..." - "$AMP_BIN" --dangerously-allow-all -x "You are a Worker Agent. Your goal is to process tasks from the task manager. + "$AMP_BIN" --log-file "amp.log" --dangerously-allow-all -x "You are a Worker Agent. Your goal is to process tasks from the task manager. Step 1: Read 'Omni/Agent/WORKER_AGENT_GUIDE.md' to understand your workflow. Step 2: Follow the 'Worker Loop' instructions exactly. |
