Module agentforge4j.runtime
Package com.agentforge4j.runtime.interceptor
package com.agentforge4j.runtime.interceptor
-
ClassDescriptionThrown by a
RunExecutionInterceptorto deliberately block a run from proceeding — for example when a budget control declines to admit the next LLM call.Neutral context forRunExecutionInterceptor.beforeLlmCall(LlmCallContext), supplied immediately before each LLM provider call (after model resolution, before dispatch).Neutral context forRunExecutionInterceptor.beforeMainExecution(RunExecutionContext), supplied once when a run first enters main execution.Control SPI for intercepting a run's execution at two pre-execution points: once before a run enters main execution, and immediately before each LLM call.