Initialize the optimizer (only summarizer needs initialization).
(self)
| 914 | self._initialized = False |
| 915 | |
| 916 | async def initialize(self) -> None: |
| 917 | """Initialize the optimizer (only summarizer needs initialization).""" |
| 918 | if self._initialized: |
| 919 | return |
| 920 | await self.summarizer.initialize() |
| 921 | self._initialized = True |
| 922 | |
| 923 | async def cleanup(self) -> None: |
| 924 | """Cleanup resources.""" |
no outgoing calls
no test coverage detected