Skip to content

very_powerful_agent.py

VeryPowerfulAgent

shutdown(self)

Shutdown procedure, call super().shutdown() if overriding

Source code in agents/very_powerful_agent.py
def shutdown(self):
    # set uvicorn exit flag
    if getattr(self, "rest"):
        self.rest.should_exit = True

    super().shutdown()