Replace --config flag with --agent flag in Continue CLI command (#8283)

* Replace --config flag with --agent flag in Continue CLI command

* fix
This commit is contained in:
Nate Sesti 2025-10-15 22:54:15 -07:00 • committed by GitHub
parent 2f4e3756e6
commit 99f741eb88
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -25,4 +25,4 @@ jobs:
with:
continue-api-key: ${{ secrets.CONTINUE_API_KEY }}
continue-org: "continuedev"
continue-agent: "continuedev/empty-agent"
continue-agent: "empty-agent"

View file

@ -282,9 +282,9 @@ runs:
echo "Prompt length: $(wc -c < "$PROMPT_FILE") characters"
# Use timeout to prevent hanging (360 seconds = 6 minutes)
echo "Executing command: cn --config $CONTINUE_ORG/$CONTINUE_AGENT -p @$PROMPT_FILE --allow Bash"
echo "Executing command: cn --agent $CONTINUE_ORG/$CONTINUE_AGENT -p @$PROMPT_FILE --allow Bash"
if timeout 360 cn --config "$CONTINUE_ORG/$CONTINUE_AGENT" -p "@$PROMPT_FILE" --allow Bash > code_review_raw.md 2>cli_error.log; then
if timeout 360 cn --agent "$CONTINUE_ORG/$CONTINUE_AGENT" -p "@$PROMPT_FILE" --allow Bash > code_review_raw.md 2>cli_error.log; then
echo "Continue CLI completed successfully"
echo "Raw output length: $(wc -c < code_review_raw.md) characters"