feat: overwrite agentapi logs instead of appending them

This commit is contained in:
35C4n0r 2026-02-06 21:34:25 +05:30
parent 85e7da3c41
commit 03ac608e1f
No known key found for this signature in database
GPG Key ID: 5B71E5C9D18D5675
2 changed files with 2 additions and 2 deletions

View File

@ -100,6 +100,6 @@ if [ -n "${AGENTAPI_INITIAL_PROMPT}" ]; then
fi
# Start agentapi server with the agent-command.sh script
nohup agentapi "${ARGS[@]}" -- "$module_path/agent-command.sh" &>> "$module_path/agentapi-start.log" &
nohup agentapi "${ARGS[@]}" -- "$module_path/agent-command.sh" &> "$module_path/agentapi-start.log" &
"$module_path/scripts/agentapi-wait-for-start.sh" "${AGENTAPI_PORT}"