Closed maheshsattala closed 3 months ago
The recent changes enhance the robustness of the dispatch_message
and logging functions across the Kairon codebase. By ensuring that message inputs are consistently treated as strings, the updates prevent potential type conflicts and improve the clarity of logged outputs. Overall, these adjustments contribute to more reliable and maintainable asynchronous message processing.
File Path | Change Summary |
---|---|
kairon/async_callback/channel_message_dispacher.py , kairon/async_callback/processor.py |
The dispatch_message function now explicitly converts the message parameter to a string. Additionally, logging in async_callback and callback_function has been updated to log string representations of variables instead of their direct references. |
🐰 In the code where messages play,
Type safety leaps like a bunny at play.
Strings now dance in logs so bright,
Making errors take flight into the night.
Hooray for changes, let’s give a cheer,
For a smoother path, let’s hop without fear! 🌟
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
callback log convert data to string before saving.
Summary by CodeRabbit