agents/agents-core/src/appleMain/kotlin/ai/koog/agents/core/agent/AIAgentBuilder.kt [1:126]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @file:Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING", "MissingKDocForPublicAPI") package ai.koog.agents.core.agent import ai.koog.agents.core.agent.config.AIAgentConfig import ai.koog.agents.core.agent.config.MissingToolsConversionStrategy import ai.koog.agents.core.agent.entity.AIAgentGraphStrategy import ai.koog.agents.core.feature.AIAgentGraphFeature import ai.koog.agents.core.feature.config.FeatureConfig import ai.koog.agents.core.tools.ToolRegistry import ai.koog.agents.core.utils.ConfigureAction import ai.koog.prompt.dsl.Prompt import ai.koog.prompt.executor.model.PromptExecutor import ai.koog.prompt.llm.LLModel import kotlinx.datetime.Clock public actual class AIAgentBuilder internal actual constructor() : AIAgentBuilderAPI { private val delegate: AIAgentBuilderImpl = AIAgentBuilderImpl() @property:PublishedApi internal actual var promptExecutor: PromptExecutor? get() = delegate.promptExecutor set(value) { delegate.promptExecutor = value } @property:PublishedApi internal actual var toolRegistry: ToolRegistry get() = delegate.toolRegistry set(value) { delegate.toolRegistry = value } @property:PublishedApi internal actual var id: String? get() = delegate.id set(value) { delegate.id = value } @property:PublishedApi internal actual var prompt: Prompt get() = delegate.prompt set(value) { delegate.prompt = value } @property:PublishedApi internal actual var llmModel: LLModel? get() = delegate.llmModel set(value) { delegate.llmModel = value } @property:PublishedApi internal actual var temperature: Double get() = delegate.temperature set(value) { delegate.temperature = value } @property:PublishedApi internal actual var numberOfChoices: Int get() = delegate.numberOfChoices set(value) { delegate.numberOfChoices = value } @property:PublishedApi internal actual var missingToolsConversionStrategy: MissingToolsConversionStrategy get() = delegate.missingToolsConversionStrategy set(value) { delegate.missingToolsConversionStrategy = value } @property:PublishedApi internal actual var maxIterations: Int get() = delegate.maxIterations set(value) { delegate.maxIterations = value } @property:PublishedApi internal actual var clock: Clock get() = delegate.clock set(value) { delegate.clock = value } public actual override fun promptExecutor(promptExecutor: PromptExecutor): AIAgentBuilder = apply { delegate.promptExecutor(promptExecutor) } public actual override fun llmModel(model: LLModel): AIAgentBuilder = apply { delegate.llmModel(model) } public actual override fun toolRegistry(toolRegistry: ToolRegistry): AIAgentBuilder = apply { delegate.toolRegistry(toolRegistry) } public actual override fun graphStrategy( strategy: AIAgentGraphStrategy ): GraphAgentBuilder = delegate.graphStrategy(strategy) public actual override fun functionalStrategy( strategy: AIAgentFunctionalStrategy ): FunctionalAgentBuilder = delegate.functionalStrategy(strategy) public actual override fun id(id: String?): AIAgentBuilder = apply { delegate.id(id) } public actual override fun systemPrompt(systemPrompt: String): AIAgentBuilder = apply { delegate.systemPrompt(systemPrompt) } public actual override fun prompt(prompt: Prompt): AIAgentBuilder = apply { delegate.prompt(prompt) } public actual override fun temperature(temperature: Double): AIAgentBuilder = apply { delegate.temperature(temperature) } public actual override fun numberOfChoices(numberOfChoices: Int): AIAgentBuilder = apply { delegate.numberOfChoices(numberOfChoices) } public actual override fun maxIterations(maxIterations: Int): AIAgentBuilder = apply { delegate.maxIterations(maxIterations) } public actual override fun agentConfig(config: AIAgentConfig): AIAgentBuilder = apply { delegate.agentConfig(config) } public actual override fun install( feature: AIAgentGraphFeature, configure: ConfigureAction ): GraphAgentBuilder = delegate.install(feature, configure) public actual override fun build(): AIAgent = delegate.build() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - agents/agents-core/src/wasmJsMain/kotlin/ai/koog/agents/core/agent/AIAgentBuilder.kt [1:126]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @file:Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING", "MissingKDocForPublicAPI") package ai.koog.agents.core.agent import ai.koog.agents.core.agent.config.AIAgentConfig import ai.koog.agents.core.agent.config.MissingToolsConversionStrategy import ai.koog.agents.core.agent.entity.AIAgentGraphStrategy import ai.koog.agents.core.feature.AIAgentGraphFeature import ai.koog.agents.core.feature.config.FeatureConfig import ai.koog.agents.core.tools.ToolRegistry import ai.koog.agents.core.utils.ConfigureAction import ai.koog.prompt.dsl.Prompt import ai.koog.prompt.executor.model.PromptExecutor import ai.koog.prompt.llm.LLModel import kotlinx.datetime.Clock public actual class AIAgentBuilder internal actual constructor() : AIAgentBuilderAPI { private val delegate: AIAgentBuilderImpl = AIAgentBuilderImpl() @property:PublishedApi internal actual var promptExecutor: PromptExecutor? get() = delegate.promptExecutor set(value) { delegate.promptExecutor = value } @property:PublishedApi internal actual var toolRegistry: ToolRegistry get() = delegate.toolRegistry set(value) { delegate.toolRegistry = value } @property:PublishedApi internal actual var id: String? get() = delegate.id set(value) { delegate.id = value } @property:PublishedApi internal actual var prompt: Prompt get() = delegate.prompt set(value) { delegate.prompt = value } @property:PublishedApi internal actual var llmModel: LLModel? get() = delegate.llmModel set(value) { delegate.llmModel = value } @property:PublishedApi internal actual var temperature: Double get() = delegate.temperature set(value) { delegate.temperature = value } @property:PublishedApi internal actual var numberOfChoices: Int get() = delegate.numberOfChoices set(value) { delegate.numberOfChoices = value } @property:PublishedApi internal actual var missingToolsConversionStrategy: MissingToolsConversionStrategy get() = delegate.missingToolsConversionStrategy set(value) { delegate.missingToolsConversionStrategy = value } @property:PublishedApi internal actual var maxIterations: Int get() = delegate.maxIterations set(value) { delegate.maxIterations = value } @property:PublishedApi internal actual var clock: Clock get() = delegate.clock set(value) { delegate.clock = value } public actual override fun promptExecutor(promptExecutor: PromptExecutor): AIAgentBuilder = apply { delegate.promptExecutor(promptExecutor) } public actual override fun llmModel(model: LLModel): AIAgentBuilder = apply { delegate.llmModel(model) } public actual override fun toolRegistry(toolRegistry: ToolRegistry): AIAgentBuilder = apply { delegate.toolRegistry(toolRegistry) } public actual override fun graphStrategy( strategy: AIAgentGraphStrategy ): GraphAgentBuilder = delegate.graphStrategy(strategy) public actual override fun functionalStrategy( strategy: AIAgentFunctionalStrategy ): FunctionalAgentBuilder = delegate.functionalStrategy(strategy) public actual override fun id(id: String?): AIAgentBuilder = apply { delegate.id(id) } public actual override fun systemPrompt(systemPrompt: String): AIAgentBuilder = apply { delegate.systemPrompt(systemPrompt) } public actual override fun prompt(prompt: Prompt): AIAgentBuilder = apply { delegate.prompt(prompt) } public actual override fun temperature(temperature: Double): AIAgentBuilder = apply { delegate.temperature(temperature) } public actual override fun numberOfChoices(numberOfChoices: Int): AIAgentBuilder = apply { delegate.numberOfChoices(numberOfChoices) } public actual override fun maxIterations(maxIterations: Int): AIAgentBuilder = apply { delegate.maxIterations(maxIterations) } public actual override fun agentConfig(config: AIAgentConfig): AIAgentBuilder = apply { delegate.agentConfig(config) } public actual override fun install( feature: AIAgentGraphFeature, configure: ConfigureAction ): GraphAgentBuilder = delegate.install(feature, configure) public actual override fun build(): AIAgent = delegate.build() - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -