Skip to main content

validate_context

Function validate_context 

Source
pub fn validate_context(
    node: &Node,
    all_ids: &HashSet<String>,
    all_memory_topics: &HashSet<String>,
    file_name: &str,
) -> Vec<AgmError>
Expand description

Validates the agent_context field on a node.

Rules: V004 (unresolved load_nodes reference), V015 (unsafe load_files path), V025/V026 (invalid or unresolved load_memory topics).