chore: remove comments
This commit is contained in:
parent
63c5e2cf7b
commit
a3321811c1
@ -122,13 +122,11 @@ ARGS=(
|
|||||||
"--term-width" "${AGENTAPI_TERM_WIDTH}"
|
"--term-width" "${AGENTAPI_TERM_WIDTH}"
|
||||||
"--term-height" "${AGENTAPI_TERM_HEIGHT}"
|
"--term-height" "${AGENTAPI_TERM_HEIGHT}"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add optional initial prompt
|
|
||||||
if [ -n "${AGENTAPI_INITIAL_PROMPT}" ]; then
|
if [ -n "${AGENTAPI_INITIAL_PROMPT}" ]; then
|
||||||
ARGS+=("--initial-prompt" "${AGENTAPI_INITIAL_PROMPT}")
|
ARGS+=("--initial-prompt" "${AGENTAPI_INITIAL_PROMPT}")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Start agentapi server with the agent-command.sh script (append logs to same file)
|
# 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}"
|
"$module_path/scripts/agentapi-wait-for-start.sh" "${AGENTAPI_PORT}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user