mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-03 07:51:49 +00:00
don't block if model not found, just warn
This commit is contained in:
@@ -225,7 +225,7 @@ class SignatureInspector:
|
||||
if model:
|
||||
if model not in provider_interface.models:
|
||||
warnings.warn(
|
||||
message=f"\nInvalid api route '/{func.__name__}'.\n"
|
||||
message=f"\Skipping api route '/{func.__name__}'.\n"
|
||||
f"Model '{model}' not found.\n\n"
|
||||
"Check available models in ProviderInterface().models",
|
||||
category=OpenBBWarning,
|
||||
|
||||
Reference in New Issue
Block a user