feat(agentci): add gemini runner backend
Support gemini -p -y (non-interactive yolo mode) alongside claude and codex runners. Three AI backends for different cost profiles. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
82cb877121
commit
ac587b0c53
1 changed files with 8 additions and 0 deletions
|
|
@ -114,6 +114,14 @@ case "$RUNNER" in
|
|||
"$PROMPT" \
|
||||
> "$LOG_FILE" 2>&1
|
||||
;;
|
||||
gemini)
|
||||
MODEL_FLAG=""
|
||||
if [ -n "$MODEL" ] && [ "$MODEL" != "sonnet" ]; then
|
||||
MODEL_FLAG="-m $MODEL"
|
||||
fi
|
||||
echo "$PROMPT" | gemini -p - -y $MODEL_FLAG \
|
||||
> "$LOG_FILE" 2>&1
|
||||
;;
|
||||
*)
|
||||
echo "$PROMPT" | claude -p \
|
||||
--model "$MODEL" \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue