Skip to content

Commit 99f741e

Browse files
authored
Replace --config flag with --agent flag in Continue CLI command (#8283)
* Replace --config flag with --agent flag in Continue CLI command * fix
1 parent 2f4e375 commit 99f741e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/continue-general-review.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,4 @@ jobs:
2525
with:
2626
continue-api-key: ${{ secrets.CONTINUE_API_KEY }}
2727
continue-org: "continuedev"
28-
continue-agent: "continuedev/empty-agent"
28+
continue-agent: "empty-agent"

actions/general-review/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ runs:
282282
echo "Prompt length: $(wc -c < "$PROMPT_FILE") characters"
283283
284284
# Use timeout to prevent hanging (360 seconds = 6 minutes)
285-
echo "Executing command: cn --config $CONTINUE_ORG/$CONTINUE_AGENT -p @$PROMPT_FILE --allow Bash"
285+
echo "Executing command: cn --agent $CONTINUE_ORG/$CONTINUE_AGENT -p @$PROMPT_FILE --allow Bash"
286286
287-
if timeout 360 cn --config "$CONTINUE_ORG/$CONTINUE_AGENT" -p "@$PROMPT_FILE" --allow Bash > code_review_raw.md 2>cli_error.log; then
287+
if timeout 360 cn --agent "$CONTINUE_ORG/$CONTINUE_AGENT" -p "@$PROMPT_FILE" --allow Bash > code_review_raw.md 2>cli_error.log; then
288288
echo "Continue CLI completed successfully"
289289
echo "Raw output length: $(wc -c < code_review_raw.md) characters"
290290

0 commit comments

Comments
 (0)