Download litellm/tests/test_longer_context_fallback.py from nonhuman/nnnn: direct link, hf CLI and curl.
- Browser
- Download file 322 Bytes
-
https://huggingface.co/spaces/nonhuman/nnnn/resolve/main/litellm/tests/test_longer_context_fallback.py
- Command line
-
hf download hf://spaces/nonhuman/nnnn/litellm/tests/test_longer_context_fallback.py
-
curl -L -o test_longer_context_fallback.py https://huggingface.co/spaces/nonhuman/nnnn/resolve/main/litellm/tests/test_longer_context_fallback.py
322 Bytes
| #### What this tests #### | |
| # This tests context fallback dict | |
| import sys, os | |
| import traceback | |
| import pytest | |
| sys.path.insert( | |
| 0, os.path.abspath("../..") | |
| ) # Adds the parent directory to the system path | |
| import litellm | |
| from litellm import longer_context_model_fallback_dict | |
| print(longer_context_model_fallback_dict) |