Disable auto mode for consensus

This commit is contained in:
Fahad
2025-06-28 22:40:19 +04:00
parent b9c2e4f5e6
commit 26169ae827

View File

@@ -306,11 +306,11 @@ of the evidence, even when it strongly points in one direction.""",
] ]
# Build schema with proper field exclusion # Build schema with proper field exclusion
# Note: We don't pass model_field_schema because consensus uses 'models' instead of 'model' # Include model field for compatibility but don't require it
schema = WorkflowSchemaBuilder.build_schema( schema = WorkflowSchemaBuilder.build_schema(
tool_specific_fields=consensus_field_overrides, tool_specific_fields=consensus_field_overrides,
model_field_schema=self.get_model_field_schema(), model_field_schema=self.get_model_field_schema(),
auto_mode=self.is_effective_auto_mode(), auto_mode=False, # Consensus doesn't require model at MCP boundary
tool_name=self.get_name(), tool_name=self.get_name(),
excluded_workflow_fields=excluded_workflow_fields, excluded_workflow_fields=excluded_workflow_fields,
excluded_common_fields=excluded_common_fields, excluded_common_fields=excluded_common_fields,