Skip to main content

register_channels_for_tools

Function register_channels_for_tools 

Source
pub fn register_channels_for_tools(
    config: &Config,
    ask_user_handle: &Option<PerToolChannelHandle>,
    reaction_handle: &Option<PerToolChannelHandle>,
    poll_handle: &Option<PerToolChannelHandle>,
    escalate_handle: &Option<PerToolChannelHandle>,
    channel_send_handle: &Option<PerToolChannelHandle>,
) -> Vec<String>
Expand description

Build configured channels and register them into late-bound tool handles.

Constructs channel instances from config (without starting listen loops) and inserts each into the provided handles under their composite key (<channel>.<alias> or bare <channel> for singletons).

Returns the list of registered channel names for logging.