From 538c9b0d930315c6052d3702e43c5767ea88e956 Mon Sep 17 00:00:00 2001 From: Martin Aeschlimann Date: Wed, 1 Apr 2026 16:50:24 +0200 Subject: [PATCH] .toFixed(1) --- .../workbench/contrib/chat/browser/promptsDebugContribution.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.ts b/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.ts index a279a2341ea..bb19c580490 100644 --- a/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.ts +++ b/src/vs/workbench/contrib/chat/browser/promptsDebugContribution.ts @@ -110,7 +110,7 @@ export class PromptsDebugContribution extends Disposable implements IWorkbenchCo private getDiscoveryLogEntry(discoveryInfo: IPromptDiscoveryInfo): { readonly name: string; readonly details?: string } { - const durationInMillis = discoveryInfo.durationInMillis; + const durationInMillis = discoveryInfo.durationInMillis.toFixed(1); const loadedCount = discoveryInfo.files.filter(file => file.status === 'loaded').length; const skippedCount = discoveryInfo.files.length - loadedCount;