Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions src/core/assistant-message/presentAssistantMessage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -478,13 +478,9 @@ export async function presentAssistantMessage(cline: Task) {
const toolCallId = (block as any).id
const toolProtocol = toolCallId ? TOOL_PROTOCOL.NATIVE : TOOL_PROTOCOL.XML

// Check experimental setting for multiple native tool calls
const provider = cline.providerRef.deref()
const state = await provider?.getState()
const isMultipleNativeToolCallsEnabled = experiments.isEnabled(
state?.experiments ?? {},
EXPERIMENT_IDS.MULTIPLE_NATIVE_TOOL_CALLS,
)
// Multiple native tool calls feature is on hold - always disabled
// Previously resolved from experiments.isEnabled(..., EXPERIMENT_IDS.MULTIPLE_NATIVE_TOOL_CALLS)
const isMultipleNativeToolCallsEnabled = false

const pushToolResult = (content: ToolResponse) => {
if (toolProtocol === TOOL_PROTOCOL.NATIVE) {
Expand Down
8 changes: 3 additions & 5 deletions src/core/task/Task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3610,11 +3610,9 @@ export class Task extends EventEmitter<TaskEvents> implements TaskLike {
})
}

// 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,
)
// Parallel tool calls are disabled - feature is on hold
// Previously resolved from experiments.isEnabled(..., EXPERIMENT_IDS.MULTIPLE_NATIVE_TOOL_CALLS)
const parallelToolCallsEnabled = false

const metadata: ApiHandlerCreateMessageMetadata = {
mode: mode,
Expand Down
2 changes: 2 additions & 0 deletions webview-ui/src/components/settings/ExperimentalSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ 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) => {
if (config[0] === "MULTI_FILE_APPLY_DIFF") {
return (
Expand Down
Loading