Enhancement
Modern reasoning models (OpenAI o1/o3, DeepSeek R1/V4, Claude with thinking) accept a reasoning_effort parameter that controls how much compute they spend on internal reasoning. Without it, models either:
- Use a default that's too high (wasting tokens/money on simple queries)
- Use a default that's too low (truncating reasoning on complex queries)
There's no way to pass this from the CLI.
Current behavior
callOpenAICompat sends { model, messages, max_tokens, temperature: 1 } — no reasoning parameter.
callAnthropic sends { model, max_tokens, system, messages } — no thinking budget.
Proposed fix
- Add
--reasoning-effort low|medium|high CLI flag
- In
callOpenAICompat: add reasoning: { effort } to payload when set
- In
callAnthropic: add thinking: { type: 'enabled', budget_tokens } to payload when set (budget derived from effort level)
Usage after fix
node council.js run "<query>" --models "..." --chairman "..." --reasoning-effort high
Enhancement
Modern reasoning models (OpenAI o1/o3, DeepSeek R1/V4, Claude with thinking) accept a
reasoning_effortparameter that controls how much compute they spend on internal reasoning. Without it, models either:There's no way to pass this from the CLI.
Current behavior
callOpenAICompatsends{ model, messages, max_tokens, temperature: 1 }— no reasoning parameter.callAnthropicsends{ model, max_tokens, system, messages }— no thinking budget.Proposed fix
--reasoning-effort low|medium|highCLI flagcallOpenAICompat: addreasoning: { effort }to payload when setcallAnthropic: addthinking: { type: 'enabled', budget_tokens }to payload when set (budget derived from effort level)Usage after fix