mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
chore: remove dead toolFormat code from getEnvironmentDetails (#11207)
Remove the toolFormat constant and <tool_format> line from environment details output. Native tool calling is now the only supported protocol, making this code unnecessary. Fixes #11206 Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
parent
47bba1c2f7
commit
f73b103b87
1 changed files with 0 additions and 3 deletions
|
|
@ -221,13 +221,10 @@ export async function getEnvironmentDetails(cline: Task, includeFileDetails: boo
|
|||
language: language ?? formatLanguage(vscode.env.language),
|
||||
})
|
||||
|
||||
const toolFormat = "native"
|
||||
|
||||
details += `\n\n# Current Mode\n`
|
||||
details += `<slug>${currentMode}</slug>\n`
|
||||
details += `<name>${modeDetails.name}</name>\n`
|
||||
details += `<model>${modelId}</model>\n`
|
||||
details += `<tool_format>${toolFormat}</tool_format>\n`
|
||||
|
||||
// Add browser session status - Only show when active to prevent cluttering context
|
||||
const isBrowserActive = cline.browserSession.isSessionActive()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue