Cap chack-agent workflow runs with max_turns

This commit is contained in:
Carlos Polop
2026-02-11 13:59:56 +01:00
parent 143a20f17e
commit 1e68040be3
3 changed files with 3 additions and 0 deletions

View File

@@ -96,6 +96,7 @@ jobs:
Remember taht you are an autonomouts agent, use the exec tool to run the needed commands to list, read, analyze, modify, test...
tools_config_json: "{\"exec_enabled\": true}"
session_config_json: "{\"long_term_memory_enabled\": false}"
max_turns: 8
output_schema_file: .github/chack-agent/pr-merge-schema.json
user_prompt: |
You are reviewing PR #${{ steps.gate.outputs.pr_number }} for ${{ github.repository }}.

View File

@@ -110,6 +110,7 @@ jobs:
prompt_file: chack_prompt.txt
tools_config_json: "{\"exec_enabled\": true}"
session_config_json: "{\"long_term_memory_enabled\": false}"
max_turns: 8
openrouter_api_key: ${{ secrets.OPENROUTER_API_KEY }}
- name: Commit and push fix branch if changed

View File

@@ -167,6 +167,7 @@ jobs:
prompt_file: chack_prompt.txt
tools_config_json: "{\"exec_enabled\": true}"
session_config_json: "{\"long_term_memory_enabled\": false}"
max_turns: 8
openrouter_api_key: ${{ secrets.OPENROUTER_API_KEY }}
- name: Commit and push if changed