Skip to content
This repository was archived by the owner on May 15, 2026. It is now read-only.

Commit 8de9337

Browse files
hannesrudolphdaniel-lxsmrubens
authored
chore: remove XML tool calling support (#10841)
Co-authored-by: daniel-lxs <ricciodaniel98@gmail.com> Co-authored-by: Matt Rubens <mrubens@users.noreply.github.com>
1 parent e356d05 commit 8de9337

270 files changed

Lines changed: 1847 additions & 14964 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/web-evals/src/app/runs/new/new-run.tsx

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ import { useRooCodeCloudModels } from "@/hooks/use-roo-code-cloud-models"
5656

5757
import {
5858
Button,
59-
Checkbox,
6059
FormControl,
6160
FormField,
6261
FormItem,
@@ -111,7 +110,6 @@ export function NewRun() {
111110

112111
const [provider, setModelSource] = useState<"roo" | "openrouter" | "other">("other")
113112
const [executionMethod, setExecutionMethod] = useState<ExecutionMethod>("vscode")
114-
const [useNativeToolProtocol, setUseNativeToolProtocol] = useState(true)
115113
const [commandExecutionTimeout, setCommandExecutionTimeout] = useState(20)
116114
const [terminalShellIntegrationTimeout, setTerminalShellIntegrationTimeout] = useState(30) // seconds
117115

@@ -464,7 +462,6 @@ export function NewRun() {
464462
...(runValues.settings || {}),
465463
apiProvider: "openrouter",
466464
openRouterModelId: selection.model,
467-
toolProtocol: useNativeToolProtocol ? "native" : "xml",
468465
commandExecutionTimeout,
469466
terminalShellIntegrationTimeout: terminalShellIntegrationTimeout * 1000,
470467
}
@@ -474,7 +471,6 @@ export function NewRun() {
474471
...(runValues.settings || {}),
475472
apiProvider: "roo",
476473
apiModelId: selection.model,
477-
toolProtocol: useNativeToolProtocol ? "native" : "xml",
478474
commandExecutionTimeout,
479475
terminalShellIntegrationTimeout: terminalShellIntegrationTimeout * 1000,
480476
}
@@ -485,7 +481,6 @@ export function NewRun() {
485481
...EVALS_SETTINGS,
486482
...providerSettings,
487483
...importedSettings.globalSettings,
488-
toolProtocol: useNativeToolProtocol ? "native" : "xml",
489484
commandExecutionTimeout,
490485
terminalShellIntegrationTimeout: terminalShellIntegrationTimeout * 1000,
491486
}
@@ -512,7 +507,6 @@ export function NewRun() {
512507
configSelections,
513508
importedSettings,
514509
router,
515-
useNativeToolProtocol,
516510
commandExecutionTimeout,
517511
terminalShellIntegrationTimeout,
518512
],
@@ -688,26 +682,6 @@ export function NewRun() {
688682
</div>
689683
)}
690684

691-
<div className="mt-4 p-4 rounded-md bg-muted/30 border border-border space-y-3">
692-
<Label className="text-sm font-medium text-muted-foreground">
693-
Tool Protocol Options
694-
</Label>
695-
<div className="flex flex-col gap-2.5 pl-1">
696-
<label
697-
htmlFor="native-other"
698-
className="flex items-center gap-2 cursor-pointer">
699-
<Checkbox
700-
id="native-other"
701-
checked={useNativeToolProtocol}
702-
onCheckedChange={(checked: boolean) =>
703-
setUseNativeToolProtocol(checked)
704-
}
705-
/>
706-
<span className="text-sm">Use Native Tool Calls</span>
707-
</label>
708-
</div>
709-
</div>
710-
711685
{settings && (
712686
<SettingsDiff defaultSettings={EVALS_SETTINGS} customSettings={settings} />
713687
)}
@@ -792,26 +766,6 @@ export function NewRun() {
792766
</div>
793767
))}
794768
</div>
795-
796-
<div className="mt-4 p-4 rounded-md bg-muted/30 border border-border space-y-3">
797-
<Label className="text-sm font-medium text-muted-foreground">
798-
Tool Protocol Options
799-
</Label>
800-
<div className="flex flex-col gap-2.5 pl-1">
801-
<label
802-
htmlFor="native"
803-
className="flex items-center gap-2 cursor-pointer">
804-
<Checkbox
805-
id="native"
806-
checked={useNativeToolProtocol}
807-
onCheckedChange={(checked: boolean) =>
808-
setUseNativeToolProtocol(checked)
809-
}
810-
/>
811-
<span className="text-sm">Use Native Tool Calls</span>
812-
</label>
813-
</div>
814-
</div>
815769
</>
816770
)}
817771

packages/core/src/custom-tools/__tests__/__snapshots__/format-xml.spec.ts.snap

Lines changed: 0 additions & 129 deletions
This file was deleted.

0 commit comments

Comments
 (0)