From 1ee78f1710c91e3826466c51bf987b320b9af892 Mon Sep 17 00:00:00 2001 From: Kyle Kelley Date: Mon, 4 Mar 2024 13:55:51 -0800 Subject: [PATCH] remove __required__ as it is not used in pydantic --- chatlab/registry.py | 1 - 1 file changed, 1 deletion(-) diff --git a/chatlab/registry.py b/chatlab/registry.py index d461a7d..a1141f8 100644 --- a/chatlab/registry.py +++ b/chatlab/registry.py @@ -161,7 +161,6 @@ def extract_model_from_function(func_name: str, function: Callable) -> Type[Base model = create_model( function.__name__, __config__=FunctionSchemaConfig, # type: ignore - __required__=required_fields, **fields, # type: ignore ) return model