From 6904053f1b40842a214a4704863c12ecc3957430 Mon Sep 17 00:00:00 2001 From: YiiSh Date: Fri, 13 Oct 2023 11:46:29 +0800 Subject: [PATCH] Fix typing of openai protocol. (#554) --- lmdeploy/serve/openai/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lmdeploy/serve/openai/protocol.py b/lmdeploy/serve/openai/protocol.py index b4eeadff7..756af1a4c 100644 --- a/lmdeploy/serve/openai/protocol.py +++ b/lmdeploy/serve/openai/protocol.py @@ -28,7 +28,7 @@ class ModelPermission(BaseModel): allow_fine_tuning: bool = False organization: str = '*' group: Optional[str] = None - is_blocking: str = False + is_blocking: bool = False class ModelCard(BaseModel):