From 600c7dd41c8c5930062de822fb3db14aa3770bc2 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 11 Jan 2025 01:59:55 -0500 Subject: [PATCH] Adds model into progress notification --- src/ai/aiProviderService.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ai/aiProviderService.ts b/src/ai/aiProviderService.ts index 44f5802bb0e37..dabef0712bfaf 100644 --- a/src/ai/aiProviderService.ts +++ b/src/ai/aiProviderService.ts @@ -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;