chore: format

This commit is contained in:
Timothy Jaeryang Baek
2025-05-03 23:48:24 +04:00
parent aefd5d9557
commit 4cfb99248d
4 changed files with 32 additions and 20 deletions

View File

@@ -291,7 +291,9 @@ def convert_function_to_pydantic_model(func: Callable) -> type[BaseModel]:
param_description = function_param_descriptions.get(name, None)
if param_description:
field_defs[name] = type_hint, Field(default_value, description=param_description)
field_defs[name] = type_hint, Field(
default_value, description=param_description
)
else:
field_defs[name] = type_hint, default_value