Skip to main content

get_rules_context

Method
This is a method of the Agent class in the agent module.
Get rules context for the current conversation.

Signature

def get_rules_context(file_path: Optional[str], include_manual: Optional[List[str]]) -> str

Parameters

file_path
Optional
Optional file path for glob-based rule matching
include_manual
Optional
Optional list of manual rule names to include (via @mention)

Returns

Returns
str
Formatted rules context string