Consoul v0.4.1 - Hotfix
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_registryparameter fromChatSession.__init__()calls - Added
approval_providerparameter toConversationService.from_config() - Fixed approval provider flow: CLI → ChatSession → ConversationService → ToolRegistry
Testing
Verified fix with:
echo "content" | consoul ask --stdin "summarize" # ✅ WorksAll affected commands now function correctly.
Installation
pip install consoul==0.4.1 --upgrade