Package-level declarations
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@TestOnly
Link copied to clipboard
@TestOnly
Link copied to clipboard
@TestOnly
Link copied to clipboard
Link copied to clipboard
@TestOnly
Link copied to clipboard
@TestOnly
Link copied to clipboard
@TestOnly
Functions
Link copied to clipboard
fun Testing.Config.SubgraphAssertionsBuilder<*, *>.assistantMessage(text: String, finishReason: String? = null): Message.Assistant
Creates an assistant message with the provided text and finish reason.
Link copied to clipboard
Configures the Testing feature for graph testing.
Link copied to clipboard
fun AIAgent.FeatureContext.testGraph(name: String, test: Testing.Config.SubgraphAssertionsBuilder<*, *>.() -> Unit)
Installs the Testing feature with graph testing enabled and executes the provided test block.
Link copied to clipboard
fun <Args : Tool.Args> Testing.Config.SubgraphAssertionsBuilder<*, *>.toolCallMessage(tool: Tool<Args, *>, args: Args): Message.Tool.Call
Creates a Message.Tool.Call
instance for the given tool and its arguments.
Link copied to clipboard
Constructs a ReceivedToolResult
object using the provided tool and result string.
Converts a tool and its corresponding result into a ReceivedToolResult
object.
Link copied to clipboard
Enables and configures the Testing feature for a Kotlin AI Agent instance.