shouldTerminate

abstract fun shouldTerminate(agentProcess: AgentProcess): EarlyTermination?

Checks if the agent process should be terminated early.

Return

An EarlyTermination object if the process should be terminated, or null if it should continue

Parameters

agentProcess

The agent process to evaluate