Skip to content

Commit f73b103

Browse files
roomote[bot]roomote
andauthored
chore: remove dead toolFormat code from getEnvironmentDetails (RooCodeInc#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 RooCodeInc#11206 Co-authored-by: Roo Code <roomote@roocode.com>
1 parent 47bba1c commit f73b103

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/core/environment/getEnvironmentDetails.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -221,13 +221,10 @@ export async function getEnvironmentDetails(cline: Task, includeFileDetails: boo
221221
language: language ?? formatLanguage(vscode.env.language),
222222
})
223223

224-
const toolFormat = "native"
225-
226224
details += `\n\n# Current Mode\n`
227225
details += `<slug>${currentMode}</slug>\n`
228226
details += `<name>${modeDetails.name}</name>\n`
229227
details += `<model>${modelId}</model>\n`
230-
details += `<tool_format>${toolFormat}</tool_format>\n`
231228

232229
// Add browser session status - Only show when active to prevent cluttering context
233230
const isBrowserActive = cline.browserSession.isSessionActive()

0 commit comments

Comments
 (0)