MockExecutorBuilder

Fluent-style builder class for creating a mock prompt executor with configurable tools and behaviors.

Types

Link copied to clipboard

A builder class for configuring and managing mocked LLM responses within a MockExecutorBuilder context.

Functions

Link copied to clipboard

Builds and returns a configured instance of ai.koog.prompt.executor.model.PromptExecutor using the current state of the MockExecutorBuilder

Link copied to clipboard

Sets the clock instance.

Link copied to clipboard
fun handleLastAssistantMessage(handleLastAssistantMessage: Boolean): MockExecutorBuilder

Configures whether the executor should handle the last assistant message during execution.

Link copied to clipboard

Configures a mock response for a LLM.

Link copied to clipboard

Sets the tokenizer.