Skip to content

Commit f1ecaac

Browse files
refactor(gemini): update GEMINI_ARGS to use --prompt-interactive for task prompts
1 parent 6d8db8d commit f1ecaac

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" --interactive)
52+
GEMINI_ARGS=(--prompt-interactive "$PROMPT")
5353
else
5454
printf "Starting Gemini CLI in interactive mode.\n"
5555
GEMINI_ARGS=()

0 commit comments

Comments
 (0)