Skip to main content

Module defaults

Module defaults 

Source

Constants§

COMMUNICATION_GUIDELINES
COMMUNICATION_GUIDELINES_CAT
COMMUNICATION_GUIDELINES_MEME
COMMUNICATION_GUIDELINES_WARM
STYLE_MANDATES
UNDERSTANDING_TOOLS
XML_TOOL_CALLING_INSTRUCTIONS

Functions§

format_tool_definitions_for_xml
Enables prompt-based tool calling by embedding tool schemas directly in system instructions.
get_autonomy_instructions
get_communication_guidelines
prepare_system_prompt_and_tools
Adapts tool definitions for different LLM provider capabilities. Some providers support native tool calling APIs, others require prompt-based XML instructions.