Skip to content

Add dynamic children override

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Sep 13:16
41931f6

Summary

Allow parents to override the default children its child uses (i.e. the parent's grandchildren). This allows services that produce the same type of results but use, for example, different versions of a model to be swapped in and out for each other without modifying the child.

Note that the child has to be running version 0.39.0 to be able to accept the override (otherwise it will just use its default children).

Contents (#524)

New features

  • Add ability to dynamically override a child's children when asking it a question

Enhancements

  • Use raw service IDs in logs and errors

Fixes

  • Use full service ID in MockService when answering question

Refactoring

  • Refactor OrderedMessageHandler methods into smaller methods

Testing

  • Remove middle-man ask_question_and_wait_for_answer method in TestService