assistantNameOf
assistantNameOf(
persona):string
Defined in: libs/core/src/session/assistant-name.ts:31
The assistant’s name from the persona: the default when it sets none. Throws on a name that can’t stand in a prompt: blank, longer than 40 characters, with a line break or another control character, or holding the placeholder itself.
Parameters
Section titled “Parameters”persona
Section titled “persona”{ name?: string; } | undefined
Returns
Section titled “Returns”string