on autogen.tools.dependency_injection.on # on(x) Source code in autogen/tools/dependency_injection.py 84 85 86 87 88def on(x: T) -> Callable[[], T]: def inner(ag2_x: T = x) -> T: return ag2_x return inner