Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1121,6 +1121,12 @@ export class ChatService extends Disposable implements IChatService {
if (commandPart.slashCommand.silent !== true) {
request = model.addRequest(parsedRequest, { variables: [] }, attempt, options?.modeInfo);
completeResponseCreated();
} else {
// Silent slash commands (e.g. /hooks, /skills) may open UI like
// quick picks that await user interaction. Remove the pending
// request entry so that the chat input is not blocked while
// the command's UI is open.
this._pendingRequests.deleteAndDispose(sessionResource);
}
// contributed slash commands
// TODO: spell this out in the UI
Expand Down
Loading