compass.common.base.run_async_tree#

async run_async_tree(tree, response_as_json=True)[source]#

Run an async decision tree and optionally parse JSON output

Parameters:
Returns:

dict or str or None – Parsed dictionary when response_as_json is True, raw response otherwise. Returns None if execution fails.