compass.common.base.run_async_tree_with_bm#

async run_async_tree_with_bm(tree, base_messages)[source]#

Run an async decision tree using seed “base” messages

Parameters:
  • tree (AsyncDecisionTree) – Decision tree to execute.

  • base_messages (list of dict) – Messages to preload into the tree’s chat caller before running.

Returns:

dict or str or None – Output from run_async_tree(), filtered by the response_as_json default.