Gemini models fail with 400 for any MCP tool whose array items has a union type (e.g. ["object","null"]); GPT/Claude unaffected
#7386
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
| name: Remove triage label | |
| on: | |
| issues: | |
| types: | |
| - labeled | |
| permissions: | |
| issues: write | |
| jobs: | |
| remove-triage-label-from-issues: | |
| if: | |
| github.event.label.name != 'triage' && github.event.label.name != | |
| 'more-info-needed' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - run: gh issue edit "$NUMBER" --remove-label "$LABELS" | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_REPO: ${{ github.repository }} | |
| NUMBER: ${{ github.event.issue.number }} | |
| LABELS: triage |