chore: hide parallel tool calls experiment and disable feature (#9798)

This commit is contained in:
Hannes Rudolph 2025-12-03 17:07:13 -07:00 committed by GitHub
parent ec551b1ae0
commit 837ce3f334
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 12 deletions

View file

@ -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) {

View file

@ -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,

View file

@ -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 (