kairon
kairon copied to clipboard
Async Rest client changes.
Summary by CodeRabbit
-
New Features
- Enhanced chat functionality with asynchronous messaging support for WhatsApp and Microsoft Teams integrations.
-
Improvements
- Optimized message broadcasting to be asynchronous, improving efficiency and performance.
- Upgraded session handling in WhatsApp integrations for better stability and resource management.
-
Bug Fixes
- Fixed issues with payload handling to ensure correct request body types are used in action executions.
-
Tests
- Updated integration and unit tests to support asynchronous operations and new functionality.
-
Refactor
- Transitioned to
AioRestClient
for asynchronous HTTP requests across various modules.
- Transitioned to
-
Chores
- General codebase cleanup and removal of deprecated synchronous HTTP request methods.