From 4e9799f41249c65702558c198aa1c48b645756c9 Mon Sep 17 00:00:00 2001 From: Dmitry Paramonov Date: Wed, 8 May 2024 10:07:14 +0300 Subject: [PATCH] fix: Make tool id optional --- model-serving/model_api/protocol.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model-serving/model_api/protocol.py b/model-serving/model_api/protocol.py index 99f6eebd0..dcffdce40 100644 --- a/model-serving/model_api/protocol.py +++ b/model-serving/model_api/protocol.py @@ -93,7 +93,7 @@ class Type(Enum): class Tool(BaseModel): type: Type function: FunctionDef - id: str + id: str | None = None class SamplingParams(SamplingParams):