Skip to content

Commit

Permalink
remove __required__ as it is not used in pydantic
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Mar 4, 2024
1 parent 45cfd2b commit 1ee78f1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion chatlab/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ee78f1

Please sign in to comment.