Interface AiUnitEngine

All Known Implementing Classes:
UnitEngine

public interface AiUnitEngine
Unit Agent Execution Engine (Unit Engine)interface.

Responsible for receiving and orchestrating multiple execution target methods AiUnitAgentHandler。

  • Method Details

    • executeUnitAgents

      Object executeUnitAgents(AiUnitAgentHandler<?,?>[] handlers, Object target, Method method, Object[] args, AiInvocationContext<Object> ctx) throws Throwable
      execution unit agent logic
      Parameters:
      handlers - Array of pre-instantiated proxy processors
      target - target object instance
      method - The original method that was called
      args - method parameters
      ctx - Context information for the current proxy call
      Returns:
      The final return result after orchestration execution
      Throws:
      Throwable - Any exceptions thrown during execution