Package com.aispect.api
Interface AiPreExecutionProxy<T>
- Type Parameters:
T- Input parameter types for method calls
- All Known Subinterfaces:
AiUnitAgentHandler<T,R>
- All Known Implementing Classes:
AbstractUnitAgent,ContentModerationAgent,DataCleanAgent,FallbackAgent,ImageProcessAgent,ImageStoryAgent,JsonExtractorAgent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Pre-execution orchestration agent interface for agents.
Triggered before method execution AI Interceptor proxy logic.
-
Method Summary
Modifier and TypeMethodDescriptionvoidpreExecute(AiInvocationContext<T> ctx) Called before the original method is executed, it is used for content review or pre-processing.
-
Method Details
-
preExecute
Called before the original method is executed, it is used for content review or pre-processing.- Parameters:
ctx- The interception context for the current method call- Throws:
AiSpectException- Exceptions thrown during orchestration or underlying calls
-