mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Inline chat fixes/feature (#208393)
* only show slash command as detected when not having typed one * use clearer message that hunks need to be accepted or discard, also add hover with more details fixes https://github.com/microsoft/vscode/issues/206939
This commit is contained in:
@@ -93,7 +93,8 @@ class BridgeAgent implements IChatAgentImplementation {
|
||||
// if (data.message) {
|
||||
// progress({ kind: 'progressMessage', content: new MarkdownString(data.message) });
|
||||
// }
|
||||
if (data.slashCommand) {
|
||||
// TODO@ulugbekna,jrieken should we only send data.slashCommand when having detected one?
|
||||
if (data.slashCommand && !inlineRequest.prompt.startsWith('/')) {
|
||||
const command = this._data.slashCommands.find(c => c.name === data.slashCommand);
|
||||
progress({ kind: 'agentDetection', agentId: this._data.id, command });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user