ExecutionLog#

class council.contexts.ExecutionLog[source]#

Bases: object

represents the log of execution for each executable items (i.e. Agent, Chain, SkillBase …)

new_entry(name: str, node: Monitorable | None) ExecutionLogEntry[source]#

adds a new entry into the log :param name: name of the new entry :param node: the related monitored runner

Returns:

the newly added entry

to_dict() Dict[str, Any][source]#

convert into a dictionary

to_json() str[source]#

serialize the execution log as a json string

Returns:

a json string