Skip to content

Commit 8339dbd

Browse files
committed
Standardize the intelligent update progress title to a generic message
1 parent 873a254 commit 8339dbd

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

‎packages/vscode/src/commands/apply-chat-response-command/handlers/intelligent-update-handler.ts‎

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -135,19 +135,7 @@ export const handle_intelligent_update = async (params: {
135135
}
136136
}
137137

138-
let progress_title = ''
139-
140-
if (existing_files.length > 0 && new_files.length > 0) {
141-
progress_title = `Called Intelligent Update API tool for ${
142-
existing_files.length
143-
} file${existing_files.length > 1 ? 's' : ''} and creating ${
144-
new_files.length
145-
} new file${new_files.length > 1 ? 's' : ''}...`
146-
} else if (existing_files.length > 0) {
147-
progress_title = `Called Intelligent Update API tool for ${
148-
existing_files.length
149-
} file${existing_files.length > 1 ? 's' : ''}...`
150-
}
138+
const progress_title = 'Called Intelligent Update API tool'
151139

152140
const file_progress_list: FileProgress[] = files.map((f) => ({
153141
file_path: f.file_path,

0 commit comments

Comments
 (0)