Moves unittests to root folder and adds github action to run unit tests. (#72)

* Move unit tests to root package.

* Adds deps to "test" extra, and mark two broken tests in tests/unittests/auth/test_auth_handler.py

* Adds github workflow

* minor fix in lite_llm.py for python 3.9.

* format pyproject.toml
This commit is contained in:
Jack Sun
2025-04-11 08:25:59 -07:00
committed by GitHub
parent 59117b9b96
commit 05142a07cc
66 changed files with 50 additions and 2 deletions

View File

@@ -183,7 +183,9 @@ def _content_to_message_param(
)
def _get_content(parts: Iterable[types.Part]) -> OpenAIMessageContent | str:
def _get_content(
parts: Iterable[types.Part],
) -> Union[OpenAIMessageContent, str]:
"""Converts a list of parts to litellm content.
Args: