Check if middleware is currently enabled.
(self)
| 940 | |
| 941 | @property |
| 942 | def middleware_enabled(self) -> bool: |
| 943 | """Check if middleware is currently enabled.""" |
| 944 | if not self.stream_manager: |
| 945 | return False |
| 946 | return bool(self.stream_manager.middleware_enabled) |
| 947 | |
| 948 | # ================================================================ |
| 949 | # LLM Integration (filtering + adaptation) |
nothing calls this directly
no outgoing calls
no test coverage detected