Decorator to configure hook behavior in middleware methods.
Use this decorator on before_model or after_model methods in middleware classes
to configure their behavior. Currently supports specifying which destinations they
can jump to, which establishes conditional edges in the agent graph.
Optional list of valid jump destinations.
Can be:
'tools': Jump to the tools node'model': Jump back to the model node'end': Jump to the end of the graph