Interface AgentExecutorRouter

All Known Implementing Classes:
CdiAgentExecutorRouter

public interface AgentExecutorRouter
Resolves the AgentExecutor for a given tenant.

Implementations should return the default (unqualified) executor when the tenant is null, blank, or does not match any registered tenant.

  • Method Details

    • resolve

      AgentExecutor resolve(@Nullable String tenant)
      Resolves the AgentExecutor for the given tenant.
      Parameters:
      tenant - the tenant identifier, may be null
      Returns:
      the resolved executor, never null