Skip to content

Commit 3a97641

Browse files
committed
Suggestion fixes
1 parent 1ea1331 commit 3a97641

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/vs/workbench/contrib/chat/browser/chatContentParts/chatProgressContentPart.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ export class ChatProgressContentPart extends Disposable implements IChatContentP
122122
: reason.scope === 'workspace'
123123
? localize('chat.autoapprove.lmServicePerTool.workspace', 'Auto approved for this workspace')
124124
: localize('chat.autoapprove.lmServicePerTool.profile', 'Auto approved for this profile');
125-
if (this.toolInvocation?.toolId) {
126-
md += ' (' + markdownCommandLink({ title: localize('edit', 'Edit'), id: 'workbench.action.chat.editToolApproval', arguments: [this.toolInvocation.toolId] }) + ')';
127-
}
125+
md += ' (' + markdownCommandLink({ title: localize('edit', 'Edit'), id: 'workbench.action.chat.editToolApproval', arguments: [this.toolInvocation.toolId] }) + ')';
128126
break;
129127
case ToolConfirmKind.UserAction:
130128
case ToolConfirmKind.Denied:

src/vs/workbench/contrib/chat/browser/chatContentParts/toolInvocationParts/chatToolOutputPart.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ export class ChatToolOutputSubPart extends BaseChatToolInvocationSubPart {
104104

105105
const progressMessage = dom.$('span');
106106
progressMessage.textContent = localize('loading', 'Rendering tool output...');
107-
const progressPart = this._register(this.instantiationService.createInstance(ChatProgressSubPart, progressMessage, ThemeIcon.modify(Codicon.loading, 'spin'), 'hello world'));
107+
const progressPart = this._register(this.instantiationService.createInstance(ChatProgressSubPart, progressMessage, ThemeIcon.modify(Codicon.loading, 'spin'), undefined));
108108
parent.appendChild(progressPart.domNode);
109109

110110
// TODO: we also need to show the tool output in the UI

0 commit comments

Comments
 (0)