Skip to content

Consoul v0.4.1 - Hotfix

Choose a tag to compare

@jaredrummler jaredrummler released this 16 Dec 18:28
· 124 commits to develop since this release

Hotfix Release - Critical Bug Fix

Fixed

🐛 Critical: Fixed TypeError in chat, ask, and resume commands

This hotfix resolves a critical bug introduced in v0.4.0 during SDK refactoring that caused consoul chat, consoul ask, and consoul resume commands to fail with:

TypeError: ChatSession.__init__() got an unexpected keyword argument 'tool_registry'

Changes

  • Removed invalid tool_registry parameter from ChatSession.__init__() calls
  • Added approval_provider parameter to ConversationService.from_config()
  • Fixed approval provider flow: CLI → ChatSession → ConversationService → ToolRegistry

Testing

Verified fix with:

echo "content" | consoul ask --stdin "summarize"  # ✅ Works

All affected commands now function correctly.

Installation

pip install consoul==0.4.1 --upgrade