We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
singleRunStrategy
ToolCalls.SEQUENTIAL
1 parent b4967d8 commit 338b272Copy full SHA for 338b272
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/agent/AIAgentSimpleStrategies.kt
@@ -30,7 +30,7 @@ import ai.koog.agents.core.dsl.extension.onToolCall
30
* - SingleRunMode.PARALLEL: Executes multiple tool calls in parallel.
31
* @return An instance of AIAgentStrategy configured according to the specified single-run mode.
32
*/
33
-public fun singleRunStrategy(runMode: ToolCalls = ToolCalls.SINGLE_RUN_SEQUENTIAL): AIAgentGraphStrategy<String, String> =
+public fun singleRunStrategy(runMode: ToolCalls = ToolCalls.SEQUENTIAL): AIAgentGraphStrategy<String, String> =
34
when (runMode) {
35
ToolCalls.SEQUENTIAL -> singleRunWithParallelAbility(false)
36
ToolCalls.PARALLEL -> singleRunWithParallelAbility(true)
0 commit comments