Merge pull request #19993 from BerriAI/litellm_add_model_map_test

Intentional bad model map
This commit is contained in:
Sameer Kankute 2026-01-29 16:26:23 +05:30 committed by GitHub
commit 350349188b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 15 additions and 4 deletions

View file

@ -74,7 +74,3 @@ jobs:
- name: Check import safety
run: |
poetry run python -c "from litellm import *" || (echo '🚨 import failed, this means you introduced unprotected imports! 🚨'; exit 1)
- name: Validate model_prices_and_context_window.json
run: |
jq empty litellm/model_prices_and_context_window.json

15
.github/workflows/test-model-map.yaml vendored Normal file
View file

@ -0,0 +1,15 @@
name: Validate model_prices_and_context_window.json
on:
pull_request:
branches: [ main ]
jobs:
validate-model-prices-json:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Validate model_prices_and_context_window.json
run: |
jq empty litellm/model_prices_and_context_window.json