Skip to content

Commit 600c7dd

Browse files
committed
Adds model into progress notification
1 parent 680f9e4 commit 600c7dd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/ai/aiProviderService.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,10 @@ export class AIProviderService implements Disposable {
270270
const start = Date.now();
271271
try {
272272
const result = await (options?.progress != null
273-
? window.withProgress(options.progress, () => promise)
273+
? window.withProgress(
274+
{ ...options.progress, title: `Generating commit message with ${model.name}...` },
275+
() => promise,
276+
)
274277
: promise);
275278

276279
payload['output.length'] = result?.length;

0 commit comments

Comments
 (0)