Skip to content

Commit

Permalink
Adds model into progress notification
Browse files Browse the repository at this point in the history
  • Loading branch information
eamodio committed Jan 11, 2025
1 parent 680f9e4 commit 600c7dd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/ai/aiProviderService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,10 @@ export class AIProviderService implements Disposable {
const start = Date.now();
try {
const result = await (options?.progress != null
? window.withProgress(options.progress, () => promise)
? window.withProgress(
{ ...options.progress, title: `Generating commit message with ${model.name}...` },
() => promise,
)
: promise);

payload['output.length'] = result?.length;
Expand Down

0 comments on commit 600c7dd

Please sign in to comment.