The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
ci(github): add automated duplicate issue checker and template safeguards (#19218)
Harshit Jain37c014c80551
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex e0c1051dd29..bbe4b76775d 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -9,6 +9,14 @@ body:Thanks for taking the time to fill out this bug report!**💡 Tip:** See our [Troubleshooting Guide](https://docs.litellm.ai/docs/troubleshoot) for what information to include.+ - type: checkboxes+ id: duplicate-check+ attributes:+ label: Check for existing issues+ description: Please search to see if an issue already exists for the bug you encountered.+ options:+ - label: I have searched the existing issues and checked that my issue is not a duplicate.+ required: true- type: textareaid: what-happenedattributes:diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlindex e575db7302a..4cc42901897 100644--- a/.github/ISSUE_TEMPLATE/feature_request.yml+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -7,6 +7,14 @@ body:attributes:value: |Thanks for making LiteLLM better!+ - type: checkboxes+ id: duplicate-check+ attributes:+ label: Check for existing issues+ description: Please search to see if an issue already exists for the feature you are requesting.+ options:+ - label: I have searched the existing issues and checked that my issue is not a duplicate.+ required: true- type: textareaid: the-featureattributes:diff --git a/.github/workflows/check_duplicate_issues.yml b/.github/workflows/check_duplicate_issues.ymlnew file mode 100644index 00000000000..14d6964fcdb--- /dev/null+++ b/.github/workflows/check_duplicate_issues.yml@@ -0,0 +1,29 @@+name: Check Duplicate Issues++on:+ issues:+ types: [opened, edited]++jobs:+ check-duplicate:+ runs-on: ubuntu-latest+ permissions:+ issues: write+ contents: read+ steps:+ - name: Check for potential duplicates+ uses: wow-actions/potential-duplicates@v1+ with:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ label: potential-duplicate+ threshold: 0.6+ reaction: eyes+ comment: |+ **⚠️ Potential duplicate detected**++ This issue appears similar to existing issue(s):+ {{#issues}}+ - [#{{number}}]({{html_url}}) - {{title}} ({{accuracy}}% similar)+ {{/issues}}++ Please review the linked issue(s) to see if they address your concern. If this is not a duplicate, please provide additional context to help us understand the difference.