Companion
Companion object for providing utility methods related to AIAgentConfig.
Companion object for providing utility methods related to AIAgentConfig.
Companion object for providing utility methods related to AIAgentConfig.
Types
Link copied to clipboard
class AIAgentConfigBuilder(val model: ERROR CLASS: Symbol not found for LLModel, var prompt: ERROR CLASS: Symbol not found for Prompt?? = null, var maxAgentIterations: Int? = null, var missingToolsConversionStrategy: MissingToolsConversionStrategy? = null, var responseProcessor: ERROR CLASS: Symbol not found for ResponseProcessor?? = null, strategyExecutorService: ExecutorService? = null, llmRequestExecutorService: ExecutorService? = null, serializer: ERROR CLASS: Symbol not found for JSONSerializer = JacksonSerializer())
A builder class for constructing an instance of AIAgentConfig with customizable configuration options.
Link copied to clipboard
class InitialAIAgentBuilder
Functions
Link copied to clipboard
Provides a builder for constructing instances of AIAgentConfig.
Link copied to clipboard
expect fun withSystemPrompt(prompt: String, llm: LLModel = OpenAIModels.Chat.GPT4o, id: String = "koog-agents", maxAgentIterations: Int = 3): AIAgentConfig
Creates an AI agent configuration with a specified system prompt.
actual fun withSystemPrompt(prompt: String, llm: ERROR CLASS: Symbol not found for LLModel, id: String, maxAgentIterations: Int): AIAgentConfig
actual fun withSystemPrompt(prompt: String, llm: LLModel, id: String, maxAgentIterations: Int): AIAgentConfig
Creates an AI agent configuration with a specified system prompt.