Created
May 21, 2026 20:12
-
-
Save philschmid/17355a51268058630589c1a273ec8383 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export GEMINI_API_KEY="xxx" | |
| export GITHUB_PAT="xxx" | |
| curl -X POST "https://generativelanguage.googleapis.com/v1beta/interactions" \ | |
| -H "Content-Type: application/json" \ | |
| -H "x-goog-api-key: ${GEMINI_API_KEY}" \ | |
| -H "x-server-timeout: 600" \ | |
| -H "Api-Revision: 2026-05-20" \ | |
| -d @- <<EOF | |
| { | |
| "agent": "antigravity-preview-05-2026", | |
| "input": "Triage the 5 last open issues from philschmid/mcp-cli", | |
| "system_instruction": "You are an GitHub Issue Triage Agent. Use python to query api.github.com/repos/your-org/your-repo/issues. Your workspace is cloned under /workspace.\n\nWhen triggered to triage an issue. Classify the issue as either a 'Bug', 'Feature Request', or 'Question'.\n Parse the issue description looking for any reproducible code or reproduction instructions. If a reproducer is found: Write the reproducer script to a local file in the sandbox and execute it. If reproduction succeeds (the bug triggers/fails as described): Comment on the issue confirming reproduction, print the execution stack trace, and add the label 'status:reproduced' via the GitHub API. If information in the issue is missing or unclear to reproduce.", | |
| "tools": [{"type": "code_execution"}], | |
| "environment": { | |
| "type": "remote", | |
| "sources": [ | |
| { | |
| "type": "repository", | |
| "source": "https://github.com/philschmid/mcp-cli.git", | |
| "target": "/workspace" | |
| } | |
| ], | |
| "network": { | |
| "allowlist": [ | |
| { | |
| "domain": "api.github.com", | |
| "transform": { | |
| "Authorization": "Bearer ${GITHUB_PAT}" | |
| } | |
| } | |
| ] | |
| } | |
| }, | |
| "stream": true | |
| } | |
| EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment