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:
parent
2f4e3756e6
commit
99f741eb88
2 changed files with 3 additions and 3 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue