]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
ai : limit runtime of the agent (#20816)
authorGeorgi Gerganov <redacted>
Fri, 20 Mar 2026 18:31:25 +0000 (20:31 +0200)
committerGitHub <redacted>
Fri, 20 Mar 2026 18:31:25 +0000 (20:31 +0200)
.github/workflows/ai-issues.yml

index dacaf3fbcedd641c9e2de7e7dbbc08e42ea8144e..caa74ca223211e5b613ad5e50270017049980103 100644 (file)
@@ -27,7 +27,7 @@ jobs:
               "bash": {
                 "*": "deny",
                 "gh issue*": "allow",
-                "gh search*": "allow"
+                "gh search issues*": "allow"
               },
               "webfetch": "deny"
             }
@@ -35,7 +35,7 @@ jobs:
           rm AGENTS.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 }}
 
@@ -83,4 +83,5 @@ jobs:
             - Post at most ONE comment combining all findings.
             - 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.
+            - If the output from a tool call is too long, try to limit down the search.
           "