chore: adjust terminal dimensions in start.sh for copilot server

This commit is contained in:
35C4n0r 2026-03-11 18:46:42 +05:30
parent c61c6fdb26
commit 45d3d8ee19
No known key found for this signature in database
GPG Key ID: 5B71E5C9D18D5675

View File

@ -186,16 +186,16 @@ start_agentapi() {
echo "Using initial prompt with system context"
if [ ${#COPILOT_ARGS[@]} -gt 0 ]; then
echo "Copilot arguments: ${COPILOT_ARGS[*]}"
agentapi server -I="$initial_prompt" --type copilot --term-width 120 --term-height 40 -- copilot "${COPILOT_ARGS[@]}"
agentapi server -I="$initial_prompt" --type copilot --term-width 67 --term-height 1190 -- copilot "${COPILOT_ARGS[@]}"
else
agentapi server -I="$initial_prompt" --type copilot --term-width 120 --term-height 40 -- copilot
agentapi server -I="$initial_prompt" --type copilot --term-width 67 --term-height 1190 -- copilot
fi
else
if [ ${#COPILOT_ARGS[@]} -gt 0 ]; then
echo "Copilot arguments: ${COPILOT_ARGS[*]}"
agentapi server --type copilot --term-width 120 --term-height 40 -- copilot "${COPILOT_ARGS[@]}"
agentapi server --type copilot --term-width 67 --term-height 1190 -- copilot "${COPILOT_ARGS[@]}"
else
agentapi server --type copilot --term-width 120 --term-height 40 -- copilot
agentapi server --type copilot --term-width 67 --term-height 1190 -- copilot
fi
fi
fi