Add test to check if model map is corretly formatted
This commit is contained in:
parent
f2d2ed5a0d
commit
fa80dc610d
6
.github/workflows/test-linting.yml
vendored
6
.github/workflows/test-linting.yml
vendored
@ -73,4 +73,8 @@ jobs:
|
||||
|
||||
- name: Check import safety
|
||||
run: |
|
||||
poetry run python -c "from litellm import *" || (echo '🚨 import failed, this means you introduced unprotected imports! 🚨'; exit 1)
|
||||
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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user