Skip to main content

TOOL_NOT_AVAILABLE_MSG

Constant TOOL_NOT_AVAILABLE_MSG 

Source
pub const TOOL_NOT_AVAILABLE_MSG: &str = "is not available in this session";
Expand description

Sentinel phrase embedded in every tool-rejection error produced by this module.

Both EmptyToolExecutor and FilteredToolExecutor use this constant so tests can assert on error_string.contains(TOOL_NOT_AVAILABLE_MSG) without depending on the surrounding format string.