mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
chore: hide parallel tool calls experiment and disable feature (#9798)
This commit is contained in:
parent
ec551b1ae0
commit
837ce3f334
3 changed files with 8 additions and 12 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue