Hi there! Glad to see you try the new callbacks! The mistake is that you did not leave state
and control
which are positional arguments. Just replace you on_log
definition by:
def on_log((self, args, state, control, logs=None, **kwargs):
and you’ll be fine!