CompressHistoryNodeBuilder

Builder class for creating a compress history node in an AI agent graph strategy.

Parameters

name

The name of the node being created.

Constructors

Link copied to clipboard
constructor(name: String)

Functions

Link copied to clipboard
fun <Input : Any> withInput(clazz: ERROR CLASS: Symbol not found for Class<Input>): TypedCompressHistoryNodeBuilder<Input>

Configures the current CompressHistoryNodeBuilder with a specific input type, returning a new TypedCompressHistoryNodeBuilder specialized for the provided type.

fun <Input : Any> withInput(typeToken: TypeToken): TypedCompressHistoryNodeBuilder<Input>

Configures the current CompressHistoryNodeBuilder with a specific input type using a TypeToken, returning a new TypedCompressHistoryNodeBuilder specialized for the provided type.