ensure schema is returned on error

This commit is contained in:
Swifty
2026-02-12 13:19:03 +01:00
parent e614cc24a3
commit a109e3afac

View File

@@ -232,10 +232,8 @@ class RunBlockTool(BaseTool):
required_non_credential_keys = required_keys - credentials_fields
provided_input_keys = set(input_data.keys()) - credentials_fields
# Show details when there are required non-credential inputs and none are provided
if required_non_credential_keys and not (
required_non_credential_keys & provided_input_keys
):
# Show details when not all required non-credential inputs are provided
if not (required_non_credential_keys <= provided_input_keys):
# Get credentials info for the response
credentials_meta = []
for field_name, cred_meta in matched_credentials.items():