File tree 1 file changed +1
-2
lines changed
src/vs/workbench/contrib/chat/electron-sandbox/tools
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ export class FetchWebPageTool implements IToolImpl {
58
58
}
59
59
60
60
const contents = await this . _readerModeService . extract ( validUris ) ;
61
- // Make an array that conatains either the content or undefined for invalid URLs
61
+ // Make an array that contains either the content or undefined for invalid URLs
62
62
const contentsWithUndefined = new Map < string , string | undefined > ( ) ;
63
63
let indexInContents = 0 ;
64
64
parsedUriResults . forEach ( ( uri , url ) => {
@@ -70,7 +70,6 @@ export class FetchWebPageTool implements IToolImpl {
70
70
}
71
71
} ) ;
72
72
73
- // TODO: Should we return a content for invalid URLs so that the indexes are aligned?
74
73
return { content : this . _getPromptPartsForResults ( contentsWithUndefined ) } ;
75
74
}
76
75
You can’t perform that action at this time.
0 commit comments