Skip to content

Commit 1095ffe

Browse files
Fix a couple comments
1 parent e33e936 commit 1095ffe

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/vs/workbench/contrib/chat/electron-sandbox/tools/fetchPageTool.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class FetchWebPageTool implements IToolImpl {
5858
}
5959

6060
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
6262
const contentsWithUndefined = new Map<string, string | undefined>();
6363
let indexInContents = 0;
6464
parsedUriResults.forEach((uri, url) => {
@@ -70,7 +70,6 @@ export class FetchWebPageTool implements IToolImpl {
7070
}
7171
});
7272

73-
// TODO: Should we return a content for invalid URLs so that the indexes are aligned?
7473
return { content: this._getPromptPartsForResults(contentsWithUndefined) };
7574
}
7675

0 commit comments

Comments
 (0)