MixedModeExecutor

class MixedModeExecutor(llmModel: LLModel, llmClient: LLMClient, screenStateProvider: () -> ScreenState, runYamlFlowFunction: (String) -> TrailblazeToolResult, trailblazeRunner: TrailblazeRunner, additionalTrailblazeTools: List<KClass<out TrailblazeTool>> = emptyList())

MixedModeExecutor provides functionality to execute YAML flows that contain a mix of direct Trailblaze AI commands and Maestro commands.

Constructors

Link copied to clipboard
constructor(llmModel: LLModel, llmClient: LLMClient, screenStateProvider: () -> ScreenState, runYamlFlowFunction: (String) -> TrailblazeToolResult, trailblazeRunner: TrailblazeRunner, additionalTrailblazeTools: List<KClass<out TrailblazeTool>> = emptyList())

Functions

Link copied to clipboard
fun runMixedMode(yamlContent: String, executeRecordedSteps: Boolean = true)

Executes a mixed mode workflow where commands can be either Trailblaze AI commands or direct Maestro commands.