execution_tracker
this module contains the abstract implementation for the execution tracker
- class mosaic_orchestrator.execution_tracker.ExecutionTracker(*args, **kwargs)[source]
This is the abstract base class for execution trackers. You can use it to capture usage statistics or to synchronize some GUI while a generator is running. You can receive events about important status updates.
- abstract append_to_entry(key: str, value: any) None [source]
Append to an entry another value (e.g. add a new tool)
- Parameters:
key (str) – Key to use
value (any) – Value to append
- abstract end_task(task: Task, cache_used: bool = False, is_root_task: bool = False) None [source]
Called when a task execution ends
- Parameters:
task – The task
cache_used – Cache used?
is_root_task – Is the current task the root task?