diff options
Diffstat (limited to '.venv/lib/python3.12/site-packages/litellm/litellm_core_utils/README.md')
-rw-r--r-- | .venv/lib/python3.12/site-packages/litellm/litellm_core_utils/README.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/litellm/litellm_core_utils/README.md b/.venv/lib/python3.12/site-packages/litellm/litellm_core_utils/README.md new file mode 100644 index 00000000..64940412 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/litellm/litellm_core_utils/README.md @@ -0,0 +1,12 @@ +## Folder Contents + +This folder contains general-purpose utilities that are used in multiple places in the codebase. + +Core files: +- `streaming_handler.py`: The core streaming logic + streaming related helper utils +- `core_helpers.py`: code used in `types/` - e.g. `map_finish_reason`. +- `exception_mapping_utils.py`: utils for mapping exceptions to openai-compatible error types. +- `default_encoding.py`: code for loading the default encoding (tiktoken) +- `get_llm_provider_logic.py`: code for inferring the LLM provider from a given model name. +- `duration_parser.py`: code for parsing durations - e.g. "1d", "1mo", "10s" + |