Skip to content

Commit 338b272

Browse files
committed
Update default parameter for singleRunStrategy to ToolCalls.SEQUENTIAL.
1 parent b4967d8 commit 338b272

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/agent/AIAgentSimpleStrategies.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ import ai.koog.agents.core.dsl.extension.onToolCall
3030
* - SingleRunMode.PARALLEL: Executes multiple tool calls in parallel.
3131
* @return An instance of AIAgentStrategy configured according to the specified single-run mode.
3232
*/
33-
public fun singleRunStrategy(runMode: ToolCalls = ToolCalls.SINGLE_RUN_SEQUENTIAL): AIAgentGraphStrategy<String, String> =
33+
public fun singleRunStrategy(runMode: ToolCalls = ToolCalls.SEQUENTIAL): AIAgentGraphStrategy<String, String> =
3434
when (runMode) {
3535
ToolCalls.SEQUENTIAL -> singleRunWithParallelAbility(false)
3636
ToolCalls.PARALLEL -> singleRunWithParallelAbility(true)

0 commit comments

Comments
 (0)