agents/agents-core/src/androidMain/kotlin/ai/koog/agents/core/agent/session/AIAgentLLMWriteSession.kt [1:70]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @file:Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING", "MissingKDocForPublicAPI") package ai.koog.agents.core.agent.session import ai.koog.agents.core.agent.config.AIAgentConfig import ai.koog.agents.core.environment.AIAgentEnvironment import ai.koog.agents.core.environment.SafeTool import ai.koog.agents.core.tools.Tool import ai.koog.agents.core.tools.ToolDescriptor import ai.koog.agents.core.tools.ToolRegistry import ai.koog.prompt.dsl.Prompt import ai.koog.prompt.executor.model.PromptExecutor import ai.koog.prompt.llm.LLModel import ai.koog.prompt.processor.ResponseProcessor import ai.koog.prompt.structure.StructureFixingParser import ai.koog.prompt.structure.StructuredResponse import kotlinx.coroutines.flow.Flow import kotlinx.datetime.Clock import kotlin.reflect.KClass @Suppress("DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDE") public actual class AIAgentLLMWriteSession internal actual constructor( @PublishedApi internal actual val delegate: AIAgentLLMWriteSessionImpl ) : AIAgentLLMWriteSessionAPI by delegate { public actual constructor( environment: AIAgentEnvironment, executor: PromptExecutor, tools: List, toolRegistry: ToolRegistry, prompt: Prompt, model: LLModel, responseProcessor: ResponseProcessor?, config: AIAgentConfig, clock: Clock ) : this( delegate = AIAgentLLMWriteSessionImpl( environment, executor, tools, toolRegistry, prompt, model, responseProcessor, config, clock ) ) public actual inline fun Flow.toParallelToolCalls( safeTool: SafeTool, concurrency: Int ): Flow> = with(delegate) { toParallelToolCallsImpl(safeTool, concurrency) } public actual inline fun Flow.toParallelToolCalls( tool: Tool, concurrency: Int ): Flow> = with(delegate) { toParallelToolCallsImpl(tool, concurrency) } public actual inline fun Flow.toParallelToolCalls( toolClass: KClass>, concurrency: Int ): Flow> = with(delegate) { toParallelToolCallsImpl(toolClass, concurrency) } public actual inline fun Flow.toParallelToolCallsRaw( safeTool: SafeTool, concurrency: Int ): Flow = with(delegate) { toParallelToolCallsRawImpl(safeTool, concurrency) } public actual inline fun Flow.toParallelToolCallsRaw( toolClass: KClass>, concurrency: Int ): Flow = with(delegate) { toParallelToolCallsRawImpl(toolClass, concurrency) } public actual suspend inline fun requestLLMStructured( examples: List, fixingParser: StructureFixingParser? ): Result> = with(delegate) { requestLLMStructuredImpl(examples, fixingParser) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - agents/agents-core/src/wasmJsMain/kotlin/ai/koog/agents/core/agent/session/AIAgentLLMWriteSession.kt [1:70]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @file:Suppress("EXPECT_ACTUAL_CLASSIFIERS_ARE_IN_BETA_WARNING", "MissingKDocForPublicAPI") package ai.koog.agents.core.agent.session import ai.koog.agents.core.agent.config.AIAgentConfig import ai.koog.agents.core.environment.AIAgentEnvironment import ai.koog.agents.core.environment.SafeTool import ai.koog.agents.core.tools.Tool import ai.koog.agents.core.tools.ToolDescriptor import ai.koog.agents.core.tools.ToolRegistry import ai.koog.prompt.dsl.Prompt import ai.koog.prompt.executor.model.PromptExecutor import ai.koog.prompt.llm.LLModel import ai.koog.prompt.processor.ResponseProcessor import ai.koog.prompt.structure.StructureFixingParser import ai.koog.prompt.structure.StructuredResponse import kotlinx.coroutines.flow.Flow import kotlinx.datetime.Clock import kotlin.reflect.KClass @Suppress("DELEGATED_MEMBER_HIDES_SUPERTYPE_OVERRIDE") public actual class AIAgentLLMWriteSession internal actual constructor( @PublishedApi internal actual val delegate: AIAgentLLMWriteSessionImpl ) : AIAgentLLMWriteSessionAPI by delegate { public actual constructor( environment: AIAgentEnvironment, executor: PromptExecutor, tools: List, toolRegistry: ToolRegistry, prompt: Prompt, model: LLModel, responseProcessor: ResponseProcessor?, config: AIAgentConfig, clock: Clock ) : this( delegate = AIAgentLLMWriteSessionImpl( environment, executor, tools, toolRegistry, prompt, model, responseProcessor, config, clock ) ) public actual inline fun Flow.toParallelToolCalls( safeTool: SafeTool, concurrency: Int ): Flow> = with(delegate) { toParallelToolCallsImpl(safeTool, concurrency) } public actual inline fun Flow.toParallelToolCalls( tool: Tool, concurrency: Int ): Flow> = with(delegate) { toParallelToolCallsImpl(tool, concurrency) } public actual inline fun Flow.toParallelToolCalls( toolClass: KClass>, concurrency: Int ): Flow> = with(delegate) { toParallelToolCallsImpl(toolClass, concurrency) } public actual inline fun Flow.toParallelToolCallsRaw( safeTool: SafeTool, concurrency: Int ): Flow = with(delegate) { toParallelToolCallsRawImpl(safeTool, concurrency) } public actual inline fun Flow.toParallelToolCallsRaw( toolClass: KClass>, concurrency: Int ): Flow = with(delegate) { toParallelToolCallsRawImpl(toolClass, concurrency) } public actual suspend inline fun requestLLMStructured( examples: List, fixingParser: StructureFixingParser? ): Result> = with(delegate) { requestLLMStructuredImpl(examples, fixingParser) } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -