Skip to content

Commit 6d8db8d

Browse files
refactor(gemini): enable interactive mode for Gemini CLI when a task prompt is provided
1 parent 0f91c17 commit 6d8db8d

File tree

1 file changed

+1
-1
lines changed
  • registry/coder-labs/modules/gemini/scripts

1 file changed

+1
-1
lines changed

registry/coder-labs/modules/gemini/scripts/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ if [ -n "$GEMINI_TASK_PROMPT" ]; then
4949
PROMPT="Every step of the way, report tasks to Coder with proper descriptions and statuses. Your task at hand: $GEMINI_TASK_PROMPT"
5050
PROMPT_FILE="$MODULE_DIR/prompt.txt"
5151
echo -n "$PROMPT" >"$PROMPT_FILE"
52-
GEMINI_ARGS=(--prompt "$PROMPT")
52+
GEMINI_ARGS=(--prompt "$PROMPT" --interactive)
5353
else
5454
printf "Starting Gemini CLI in interactive mode.\n"
5555
GEMINI_ARGS=()

0 commit comments

Comments
 (0)