Skip to content

Commit 3785d5f

Browse files
authored
Filter out 'modelList' items from exportable chat requests in RequestLogTree (#2553)
* Filter out 'modelList' items from exportable chat requests in RequestLogTree * addressed comment
1 parent f7fbdfb commit 3785d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension/log/vscode-node/requestLogTree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ export class RequestLogTree extends Disposable implements IExtensionContribution
419419
return;
420420
}
421421

422-
const exportableItems = allTreeItems.filter(item => item instanceof ChatPromptItem || item instanceof ChatRequestItem);
422+
const exportableItems = allTreeItems.filter(item => item instanceof ChatPromptItem || (item instanceof ChatRequestItem && item.info.entry.debugName !== 'modelList'));
423423

424424
if (exportableItems.length === 0) {
425425
vscode.window.showInformationMessage('No chat prompts found to export.');

0 commit comments

Comments
 (0)