chore: adjust terminal dimensions in start.sh for copilot server
This commit is contained in:
parent
c61c6fdb26
commit
45d3d8ee19
@ -186,16 +186,16 @@ start_agentapi() {
|
|||||||
echo "Using initial prompt with system context"
|
echo "Using initial prompt with system context"
|
||||||
if [ ${#COPILOT_ARGS[@]} -gt 0 ]; then
|
if [ ${#COPILOT_ARGS[@]} -gt 0 ]; then
|
||||||
echo "Copilot arguments: ${COPILOT_ARGS[*]}"
|
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
|
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
|
fi
|
||||||
else
|
else
|
||||||
if [ ${#COPILOT_ARGS[@]} -gt 0 ]; then
|
if [ ${#COPILOT_ARGS[@]} -gt 0 ]; then
|
||||||
echo "Copilot arguments: ${COPILOT_ARGS[*]}"
|
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
|
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
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user