-
Notifications
You must be signed in to change notification settings - Fork 269
Use SEQUENTIAL mode for singleRunStrategy #1195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -30,7 +30,7 @@ import ai.koog.agents.core.dsl.extension.onToolCall | |||||
| * - SingleRunMode.PARALLEL: Executes multiple tool calls in parallel. | ||||||
| * @return An instance of AIAgentStrategy configured according to the specified single-run mode. | ||||||
| */ | ||||||
| public fun singleRunStrategy(runMode: ToolCalls = ToolCalls.SINGLE_RUN_SEQUENTIAL): AIAgentGraphStrategy<String, String> = | ||||||
| public fun singleRunStrategy(runMode: ToolCalls = ToolCalls.SEQUENTIAL): AIAgentGraphStrategy<String, String> = | ||||||
|
||||||
| public fun singleRunStrategy(runMode: ToolCalls = ToolCalls.SEQUENTIAL): AIAgentGraphStrategy<String, String> = | |
| public fun singleRunStrategy(runMode: ToolCalls = ToolCalls.SINGLE_RUN_SEQUENTIAL): AIAgentGraphStrategy<String, String> = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function documentation is outdated and uses incorrect terminology. It references:
ToolCalls.SEQUENTIAL,ToolCalls.PARALLEL, andToolCalls.SINGLE_RUN_SEQUENTIALThe documentation should be updated to accurately describe what each
ToolCallsenum value does and use the correct enum type name.