ai : limit runtime of the agent (#20816)

This commit is contained in:
Georgi Gerganov
2026-03-20 20:31:25 +02:00
committed by GitHub
parent 149b2493c0
commit 4cb7e0bd61
+3 -2
View File
@@ -27,7 +27,7 @@ jobs:
"bash": { "bash": {
"*": "deny", "*": "deny",
"gh issue*": "allow", "gh issue*": "allow",
"gh search*": "allow" "gh search issues*": "allow"
}, },
"webfetch": "deny" "webfetch": "deny"
} }
@@ -35,7 +35,7 @@ jobs:
rm AGENTS.md rm AGENTS.md
rm CLAUDE.md rm CLAUDE.md
opencode run -m llama.cpp-dgx/ai-review-issues-find-similar --thinking "A new issue has been created: timeout 5m opencode run -m llama.cpp-dgx/ai-review-issues-find-similar --thinking "A new issue has been created:
Issue number: ${{ github.event.issue.number }} Issue number: ${{ github.event.issue.number }}
@@ -83,4 +83,5 @@ jobs:
- Post at most ONE comment combining all findings. - Post at most ONE comment combining all findings.
- If you didn't find issues that are related enough, post nothing. - If you didn't find issues that are related enough, post nothing.
- You have access only to the 'gh' CLI tool - don't try to use other tools. - You have access only to the 'gh' CLI tool - don't try to use other tools.
- If the output from a tool call is too long, try to limit down the search.
" "