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 2f348da commit 33229d1Copy full SHA for 33229d1
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