fix: config for agent api

This commit is contained in:
Dallin Romney 2025-10-15 22:37:43 -07:00
parent 2041336eaf
commit fff335e5bd
2 changed files with 4 additions and 4 deletions

View file

@ -7,8 +7,8 @@ on:
description: "The prompt to send to the Continue agent"
required: true
type: string
agent:
description: "The agent to use (e.g., continuedev/default-background-agent)"
config:
description: "The config to use (e.g., continuedev/default-background-agent)"
required: false
type: string
default: "continuedev/default-background-agent"
@ -33,7 +33,7 @@ jobs:
-H "Authorization: Bearer ${{ secrets.CONTINUE_API_KEY }}" \
-d '{
"prompt": "${{ inputs.prompt }}",
"agent": "${{ inputs.agent }}",
"config": "${{ inputs.config }}",
"branchName": "${{ inputs.branch_name }}",
"repoUrl": "https://github.com/${{ github.repository }}"
}')

View file

@ -11,7 +11,7 @@ jobs:
uses: ./.github/workflows/run-continue-agent.yml
with:
prompt: "Review every Markdown documentation file and verify that descriptions, examples, or behavior outlines accurately reflect the current code. Only update documentation; do not modify code. Check the corresponding code to confirm behavior before making changes. Correct any inaccuracies or outdated information in descriptions, examples, or behavior outlines. Preserve existing Markdown formatting, style, and structure. Do not add new sections, speculative explanations, or details not present in the code. Only update statements that are clearly incorrect or misleading; do not rewrite text for style or preference. Keep edits minimal and focused, ensuring that the Markdown matches what the code actually does. If verification against the code is ambiguous, leave the documentation unchanged. Use branch name bot/cleanup-<YYMMDD>-<HHMM>"
agent: continuedev/default-background-agent
config: continuedev/default-background-agent
branch_name: main
secrets:
CONTINUE_API_KEY: ${{ secrets.CONTINUE_API_KEY }}