Closed maciejmajek closed 2 days ago
@coderabbitai full review
The changes in this pull request involve modifications to logging practices in the src/rai/rai/node.py
and src/rai_hmi/rai_hmi/voice_hmi.py
files. The updates include changing certain logging levels from info to debug to reduce verbosity during normal operations while maintaining access to detailed logs during debugging. The append_whoami_info_to_prompt
and state_update_callback
methods' logging statements were adjusted, as well as the handle_human_message
method in the VoiceHMINode
class.
File Path | Change Summary |
---|---|
src/rai/rai/node.py | - Changed logging level of the system prompt initialization from info to debug. |
- Changed logging level of the state_dict in state_update_callback from info to debug. |
|
src/rai_hmi/rai_hmi/voice_hmi.py | - Modified logging in handle_human_message to a generic message "Sending reply to human." |
- Added a new debug log statement for tracking the content of the last message separately. |
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?
Purpose
HRI launchfile runs multiple nodes which log a lot of redundant data making the output hard to follow
Proposed Changes
Reduces overall verbosity.
Summary by CodeRabbit
These changes aim to streamline logging processes, making it easier for users to understand system behavior without overwhelming them with information.