From 355331d1418213096f19b3c9ec0d97a897d36026 Mon Sep 17 00:00:00 2001 From: Fahad Date: Sun, 22 Jun 2025 12:22:04 +0400 Subject: [PATCH] Exclude 'model' parameter for consensus as it uses its own --- tools/consensus.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/consensus.py b/tools/consensus.py index 35c2db9..b3422e8 100644 --- a/tools/consensus.py +++ b/tools/consensus.py @@ -114,6 +114,7 @@ class ConsensusRequest(WorkflowRequest): ) # Override inherited fields to exclude them from schema + model: str | None = Field(default=None, exclude=True) # Consensus uses 'models' field instead temperature: float | None = Field(default=None, exclude=True) thinking_mode: str | None = Field(default=None, exclude=True) use_websearch: bool | None = Field(default=None, exclude=True) @@ -304,6 +305,7 @@ of the evidence, even when it strongly points in one direction.""", "hypothesis", "backtrack_from_step", "confidence", # Not used in consensus workflow + "model", # Consensus uses 'models' field instead "temperature", # Not used in consensus workflow "thinking_mode", # Not used in consensus workflow "use_websearch", # Not used in consensus workflow