Commit af3fb64
committed
Fix 'Hide Ghost Requests' not filtering ghost prompt groups
The ghost request filter in the Chat Debug Log only checked ChatRequestItem
instances but not ChatPromptItem (parent grouping nodes). This meant ghost
prompt groups labeled 'Ghost' or 'Ghost | ...' remained visible even with
the filter active.
Extend isGhostRequest to also handle ChatPromptItem, matching the pattern
already used for NES request filtering.
Fixes microsoft/vscode#2975661 parent 242dd53 commit af3fb64
1 file changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
865 | 868 | | |
866 | 869 | | |
867 | 870 | | |
| |||
881 | 884 | | |
882 | 885 | | |
883 | 886 | | |
884 | | - | |
885 | | - | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
886 | 895 | | |
887 | 896 | | |
888 | 897 | | |
| |||
0 commit comments