StreamObserver
autogen.beta.observers.observer.StreamObserver dataclass #
Bases: SimpleObserver
Lightweight condition → callback stream subscription.
Produced by :func:observer. Enters a sub_scope on the filtered stream; the ExitStack cleans up the subscription when the agent finishes. When condition is None the observer fires on every event.