reset_contexts
reset_contexts
Remove all contexts from the agent, returning it to a no-contexts state. This is a
convenience wrapper around define_contexts().reset().
Use it in a dynamic config callback when you need to rebuild contexts from scratch for a specific request.
Parameters
None.
Returns
AgentBase — Self for method chaining.