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
Improve issue labeling: add component dropdown and more provider keywords (#17957)
Cesar Garciacd9b71093ac6
diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.ymlindex 8fbf1b3c5b4..39b46cba999 100644--- a/.github/ISSUE_TEMPLATE/bug_report.yml+++ b/.github/ISSUE_TEMPLATE/bug_report.yml@@ -23,13 +23,15 @@ body:description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.render: shell- type: dropdown- id: ml-ops-team+ id: componentattributes:- label: Are you a ML Ops Team?- description: This helps us prioritize your requests correctly+ label: What part of LiteLLM is this about?options:- - "No"- - "Yes"+ - "SDK (litellm Python package)"+ - "Proxy"+ - "UI Dashboard"+ - "Docs"+ - "Other"validations:required: true- type: inputdiff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.ymlindex 13a2132ec95..96b95cc7f02 100644--- a/.github/ISSUE_TEMPLATE/feature_request.yml+++ b/.github/ISSUE_TEMPLATE/feature_request.yml@@ -22,6 +22,18 @@ body:description: Please outline the motivation for the proposal. Is your feature request related to a specific problem? e.g., "I'm working on X and would like Y to be possible". If this is related to another GitHub issue, please link here too.validations:required: true+ - type: dropdown+ id: component+ attributes:+ label: What part of LiteLLM is this about?+ options:+ - "SDK (litellm Python package)"+ - "Proxy"+ - "UI Dashboard"+ - "Docs"+ - "Other"+ validations:+ required: true- type: dropdownid: hiring-interestattributes:diff --git a/.github/workflows/issue-keyword-labeler.yml b/.github/workflows/issue-keyword-labeler.ymlindex 60c18e3b9af..936f90f747f 100644--- a/.github/workflows/issue-keyword-labeler.yml+++ b/.github/workflows/issue-keyword-labeler.yml@@ -19,7 +19,7 @@ jobs:id: scanenv:PROVIDER_ISSUE_WEBHOOK_URL: ${{ secrets.PROVIDER_ISSUE_WEBHOOK_URL }}- KEYWORDS: azure,openai,bedrock,vertexai,vertex ai,anthropic+ KEYWORDS: azure,openai,bedrock,vertexai,vertex ai,anthropic,gemini,cohere,mistral,groq,ollama,deepseekrun: python3 .github/scripts/scan_keywords.py- name: Ensure label existsdiff --git a/.github/workflows/label-component.yml b/.github/workflows/label-component.ymlnew file mode 100644index 00000000000..c0f9436288c--- /dev/null+++ b/.github/workflows/label-component.yml@@ -0,0 +1,144 @@+name: Label Component Issues++on:+ issues:+ types:+ - opened++jobs:+ add-component-label:+ runs-on: ubuntu-latest+ permissions:+ issues: write+ steps:+ - name: Add SDK label+ if: contains(github.event.issue.body, 'SDK (litellm Python package)')+ uses: actions/github-script@v7+ with:+ github-token: ${{ secrets.GITHUB_TOKEN }}+ script: |+ const labelName = 'sdk';+ try {+ await github.rest.issues.getLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: labelName+ });+ } catch (error) {+ if (error.status === 404) {+ await github.rest.issues.createLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: labelName,+ color: '0E7C86',+ description: 'Issues related to the litellm Python SDK'+ });+ } else {+ throw error;+ }+ }+ await github.rest.issues.addLabels({+ owner: context.repo.owner,+ repo: context.repo.repo,+ issue_number: context.issue.number,+ labels: [labelName]+ });++ - name: Add Proxy label+ if: contains(github.event.issue.body, 'Proxy')+ uses: actions/github-script@v7+ with:+ github-token: ${{ secrets.GITHUB_TOKEN }}+ script: |+ const labelName = 'proxy';+ try {+ await github.rest.issues.getLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: labelName+ });+ } catch (error) {+ if (error.status === 404) {+ await github.rest.issues.createLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: labelName,+ color: '5319E7',+ description: 'Issues related to the LiteLLM Proxy'+ });+ } else {+ throw error;+ }+ }+ await github.rest.issues.addLabels({+ owner: context.repo.owner,+ repo: context.repo.repo,+ issue_number: context.issue.number,+ labels: [labelName]+ });++ - name: Add UI Dashboard label+ if: contains(github.event.issue.body, 'UI Dashboard')+ uses: actions/github-script@v7+ with:+ github-token: ${{ secrets.GITHUB_TOKEN }}+ script: |+ const labelName = 'ui-dashboard';+ try {+ await github.rest.issues.getLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: labelName+ });+ } catch (error) {+ if (error.status === 404) {+ await github.rest.issues.createLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: labelName,+ color: 'D876E3',+ description: 'Issues related to the LiteLLM UI Dashboard'+ });+ } else {+ throw error;+ }+ }+ await github.rest.issues.addLabels({+ owner: context.repo.owner,+ repo: context.repo.repo,+ issue_number: context.issue.number,+ labels: [labelName]+ });++ - name: Add Docs label+ if: contains(github.event.issue.body, 'Docs')+ uses: actions/github-script@v7+ with:+ github-token: ${{ secrets.GITHUB_TOKEN }}+ script: |+ const labelName = 'docs';+ try {+ await github.rest.issues.getLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: labelName+ });+ } catch (error) {+ if (error.status === 404) {+ await github.rest.issues.createLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ name: labelName,+ color: 'FBCA04',+ description: 'Issues related to LiteLLM documentation'+ });+ } else {+ throw error;+ }+ }+ await github.rest.issues.addLabels({+ owner: context.repo.owner,+ repo: context.repo.repo,+ issue_number: context.issue.number,+ labels: [labelName]+ });diff --git a/.github/workflows/label-mlops.yml b/.github/workflows/label-mlops.ymldeleted file mode 100644index 37789c1ea76..00000000000--- a/.github/workflows/label-mlops.yml+++ /dev/null@@ -1,17 +0,0 @@-name: Label ML Ops Team Issues--on:- issues:- types:- - opened--jobs:- add-mlops-label:- runs-on: ubuntu-latest- steps:- - name: Check if ML Ops Team is selected- uses: actions-ecosystem/action-add-labels@v1- if: contains(github.event.issue.body, '### Are you a ML Ops Team?') && contains(github.event.issue.body, 'Yes')- with:- github_token: ${{ secrets.GITHUB_TOKEN }}- labels: "mlops user request"