# factories.py from runners.echo import EchoRunner async def default_runner_factory(context: Dict[str, Any]) -> ILLMRunner: # choose runner by context["LLMRunnerType"] if you need variants return EchoRunner(publisher=context["_publisher"], settings=context["_settings"])