Traverse Context

class TraverseContext

Captures the context of a Bifrost traversal. For example, this will store the user’s untrusted input, the LLM’s untrusted output, the trusted output, etc, at different stages. This is used for logging and exceptions.