v0.2.0
What's Changed
🐛 Bug Fixes
- Fixed chat functionality after refactoring to useAgent hook
- Resolved OpenAI client private member access error using Valtio ref()
- Fixed system messages not rendering in chat history
- Improved performance by removing redundant token counting on every message
✨ Improvements
- Added support for rendering system messages in chat
- Suppressed MODULE_TYPELESS_PACKAGE_JSON warnings in npm scripts
- Cleaned up debug logging throughout the codebase
- Better error handling for API responses
🔧 Technical Changes
- Refactored components to use useAgent hook instead of prop drilling
- Fixed React closure issues with stale agent references
- Optimized token counting to prevent re-initialization on every message
- Fixed duplicate key warnings in chat history rendering
Full Changelog: v0.1.35...v0.2.0