Skip to content

Commit 8884247

Browse files
committed
Tweaks wording
1 parent d14060e commit 8884247

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/plus/ai/utils/-webview/ai.utils.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,12 @@ export async function showLargePromptWarning(estimatedTokens: number, threshold:
142142
const changeThreshold = { title: `Change Threshold` };
143143
const cancel = { title: 'Cancel', isCloseAffordance: true };
144144
const result = await window.showWarningMessage(
145-
`This request will use about ${pluralize(
145+
`This request will use approximately ${pluralize(
146146
'token',
147147
estimatedTokens,
148-
)} which exceeds the large prompt threshold of ${pluralize('token', threshold)}.\n\nDo you want to continue?`,
148+
)}, which exceeds the configured ${formatNumeric(
149+
threshold,
150+
)} token threshold for large prompts.\n\nDo you want to continue?`,
149151
{ modal: true },
150152
confirm,
151153
changeThreshold,

0 commit comments

Comments
 (0)