diff options
Diffstat (limited to 'Omni')
| -rwxr-xr-x | Omni/Agent/start-worker.sh | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Omni/Agent/start-worker.sh b/Omni/Agent/start-worker.sh index bf5eef3..e3a7200 100755 --- a/Omni/Agent/start-worker.sh +++ b/Omni/Agent/start-worker.sh @@ -33,8 +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 " Log File: $WORKER_PATH/_/llm/amp.log" +echo " Monitor: tail -f $WORKER_PATH/_/llm/amp.log" echo " Press Ctrl+C to stop." cd "$WORKER_PATH" @@ -43,16 +43,17 @@ cd "$WORKER_PATH" while true; do echo "----------------------------------------------------------------" echo "$(date): Starting new agent session..." - - "$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. - + + mkdir -p _/llm + "$AMP_BIN" --log-file "_/llm/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. - + Start by syncing tasks and checking for ready work. If no work is ready, exit." - + EXIT_CODE=$? - + if [ $EXIT_CODE -ne 0 ]; then echo "Agent exited with error code $EXIT_CODE. Sleeping for 10s..." sleep 10 |
