mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-05 08:10:14 +00:00
Update src/core/tools/askFollowupQuestionTool.ts
Co-authored-by: roomote[bot] <219738659+roomote[bot]@users.noreply.github.com>
This commit is contained in:
parent
0d2e8d3156
commit
d776306625
1 changed files with 4 additions and 1 deletions
|
|
@ -36,7 +36,10 @@ export async function askFollowupQuestionTool(
|
|||
if (follow_up) {
|
||||
// Define the actual structure returned by the XML parser for both formats
|
||||
type ParsedSuggestion =
|
||||
| string // For backward compatibility with old format or when stopNodes is used
|
||||
type ParsedSuggestion =
|
||||
| string // For backward compatibility with old format
|
||||
| { "#text": string; "@_mode"?: string } // Old attribute format
|
||||
| { content: string; mode?: string } // New nested element format
|
||||
| { "#text": string; "@_mode"?: string } // For backward compatibility with old attribute format
|
||||
| { content: string; mode?: string } // New nested element format
|
||||
| { [key: string]: any } // Fallback for unexpected structures
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue