From 972208e84c3d16b98f94b6d1e96c8a9dd0fa4b57 Mon Sep 17 00:00:00 2001 From: yym68686 Date: Thu, 24 Oct 2024 22:18:52 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Bug:=20Fix=20the=20bug=20where?= =?UTF-8?q?=20tool=20use=20is=20not=20compatible=20with=20enum=20fields.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.py b/models.py index 3a301c4..26842ad 100644 --- a/models.py +++ b/models.py @@ -5,7 +5,7 @@ class FunctionParameter(BaseModel): type: str - properties: Dict[str, Dict[str, Union[str, Dict[str, str]]]] + properties: Dict[str, Dict[str, Any]] required: List[str] class Function(BaseModel):