跳到主要内容

Function: maskSecretValue()

maskSecretValue(value, visibleSuffix?): string

Defined in: packages/contracts/src/secrets.ts:83

Mask a secret value for safe display: keep only the last few characters and replace the remainder with bullets (matches SillyTavern getMaskedValue).

Parameters

value

string

visibleSuffix?

number = 4

Returns

string