ReplanDecider

fun interface ReplanDecider

Functional interface for deciding whether to trigger replanning based on tool results.

Implementations inspect the ReplanContext and return either:

  • A ReplanDecision to trigger replanning with the specified reason and blackboard updates

  • null to continue normally and return the tool result

Functions

Link copied to clipboard
abstract fun evaluate(context: ReplanContext): ReplanDecision?

Evaluate whether replanning is needed based on the tool result context.