tests: add additional basic testing (#982)

* chore: update rebase tests

Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>

* chore: update partial clients before removing

Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>

* fix: update clients parsing logics to work with 0.5

Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>

* chore: ignore ci runs as to run locally

Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>

* chore: update async client tests

Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>

* chore: update pre-commit

Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>

---------

Signed-off-by: paperspace <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron Pham
2024-05-23 10:02:23 -04:00
committed by GitHub
parent 5cb5203eea
commit 97d76eec85
28 changed files with 498 additions and 978 deletions

View File

@@ -1,4 +1,4 @@
if __name__ == '__main__':
from openllm_cli.entrypoint import cli
from _openllm_tiny._entrypoint import cli
cli()

View File

@@ -70,7 +70,7 @@ def error_response(status_code, message):
)
async def check_model(request, model):
async def check_model(request, model): # noqa
if request.model == model:
return None
return error_response(