mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-12 23:01:21 +00:00
Bring back parallel tool calls
This commit is contained in:
parent
0f08867656
commit
0d4fe08d3a
3 changed files with 10 additions and 8 deletions
|
|
@ -516,9 +516,11 @@ export async function presentAssistantMessage(cline: Task) {
|
|||
const toolCallId = (block as any).id
|
||||
const toolProtocol = toolCallId ? TOOL_PROTOCOL.NATIVE : TOOL_PROTOCOL.XML
|
||||
|
||||
// Multiple native tool calls feature is on hold - always disabled
|
||||
// Previously resolved from experiments.isEnabled(..., EXPERIMENT_IDS.MULTIPLE_NATIVE_TOOL_CALLS)
|
||||
const isMultipleNativeToolCallsEnabled = false
|
||||
// Check experimental setting for multiple native tool calls
|
||||
const isMultipleNativeToolCallsEnabled = experiments.isEnabled(
|
||||
state?.experiments ?? {},
|
||||
EXPERIMENT_IDS.MULTIPLE_NATIVE_TOOL_CALLS,
|
||||
)
|
||||
|
||||
// Store approval feedback to merge into tool result (GitHub #10465)
|
||||
let approvalFeedback: { text: string; images?: string[] } | undefined
|
||||
|
|
|
|||
|
|
@ -4215,9 +4215,11 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
|
|||
allowedFunctionNames = toolsResult.allowedFunctionNames
|
||||
}
|
||||
|
||||
// Parallel tool calls are disabled - feature is on hold
|
||||
// Previously resolved from experiments.isEnabled(..., EXPERIMENT_IDS.MULTIPLE_NATIVE_TOOL_CALLS)
|
||||
const parallelToolCallsEnabled = false
|
||||
// Resolve parallel tool calls setting from experiment (will move to per-API-profile setting later)
|
||||
const parallelToolCallsEnabled = experiments.isEnabled(
|
||||
state?.experiments ?? {},
|
||||
EXPERIMENT_IDS.MULTIPLE_NATIVE_TOOL_CALLS,
|
||||
)
|
||||
|
||||
const metadata: ApiHandlerCreateMessageMetadata = {
|
||||
mode: mode,
|
||||
|
|
|
|||
|
|
@ -51,8 +51,6 @@ export const ExperimentalSettings = ({
|
|||
<Section>
|
||||
{Object.entries(experimentConfigsMap)
|
||||
.filter(([key]) => key in EXPERIMENT_IDS)
|
||||
// Hide MULTIPLE_NATIVE_TOOL_CALLS - feature is on hold
|
||||
.filter(([key]) => key !== "MULTIPLE_NATIVE_TOOL_CALLS")
|
||||
.map((config) => {
|
||||
// Use the same translation key pattern as ExperimentalFeature
|
||||
const experimentKey = config[0]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue