diff --git a/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/command_runner.py b/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/command_runner.py index 6f489ce04ff..51b7a0aab4f 100644 --- a/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/command_runner.py +++ b/openbb_sdk/openbb_sdk_core/openbb_sdk_core/app/command_runner.py @@ -175,7 +175,7 @@ class ParametersBuilder: ) for n, p in sig.parameters.items() } - ValidationModel = create_model("ValidationModel", __config__=Config, **fields) # type: ignore + ValidationModel = create_model(func.__name__, __config__=Config, **fields) # type: ignore model = ValidationModel(**kwargs) result = dict(model)