v1.6.3 - Critical Config Fix
v1.6.3 - Critical Config Fix
This patch release fixes a critical bug in v1.6.2 that caused YAML parsing errors when loading configuration files.
Bug Fixed
- YAML parsing error: Fixed "unacceptable character #x001b" error when loading .chatrc files
- The default config template had improperly escaped ANSI color codes
- YAML was interpreting escape sequences and creating actual ESC characters (#x001b)
- Fixed by properly double-escaping backslashes in the config template
- Config files are now valid YAML while still producing intended ANSI codes
Technical Details
- Changed ANSI codes in default template from
\033to\\033 - This ensures the file contains
\033which YAML parses as literal\033 - The decode('unicode_escape') step then converts to actual ESC characters
- All 331 tests passing
Recommendation
Users experiencing config loading errors should:
- Upgrade to v1.6.3:
pip install --upgrade basic-agent-chat-loop - Reset config if needed:
chat_loop --reset-config
This release maintains full backward compatibility with properly formatted config files.