feat(Update modules interface):

This commit is contained in:
Alexander Myasoedov
2024-12-24 23:29:20 +02:00
parent 79cbdf6c4d
commit 1335be9b0b
12 changed files with 69 additions and 53 deletions
@@ -7,7 +7,7 @@ class TestModule:
# Module can be initialized with a list of prompt groups.
def test_initialize_with_prompt_groups(self):
prompt_groups = []
module = Module(prompt_groups)
module = Module(prompt_groups, None, {})
assert module is not None
assert isinstance(module, Module)
assert len(module.goals) == snapshot(50)