NonSuspendAIAgentFunctionalStrategy
abstract class NonSuspendAIAgentFunctionalStrategy<TInput, TOutput>(val name: String) : NonSuspendAIAgentStrategy<TInput, TOutput, AIAgentFunctionalContext> , AIAgentFunctionalStrategy<TInput, TOutput> (source)
AIAgentFunctionalStrategy that operates in non-suspend context and is run on ExecutorService configured in ai.koog.agents.core.agent.config.AIAgentConfig.
See ai.koog.agents.core.agent.NonSuspendAIAgentFunctionalStrategy.executeStrategy
Properties
Functions
Link copied to clipboard
open fun execute(context: AIAgentFunctionalContext, input: TInput, executorService: ExecutorService? = null): TOutput?
Executes the AI agent's strategy using the provided context and input.
Link copied to clipboard