Skip to main content

agent_json_with

Function agent_json_with 

Source
pub fn agent_json_with(name: &str, description: &str, extra: Value) -> Value
Expand description

agent_json merged with extra fields, e.g. agent_json_with("planner", "Plans", json!({ "prompts": ["BASE.md"] })).