serializer

fun serializer(serializer: ERROR CLASS: Symbol not found for JSONSerializer): AIAgentConfig.Companion.AIAgentConfigBuilder(source)

Sets serializer for underlying tool calls and LLM requests

Return

The updated instance of Companion.AIAgentConfigBuilder

Parameters

serializer

The JSON serializer to configure the AI agent with.