MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / normalizeMentionLookupText

Function normalizeMentionLookupText

src/stores/aiChat.ts:1354–1359  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1352 }
1353
1354 function normalizeMentionLookupText(value: string): string {
1355 return value
1356 .trim()
1357 .replace(/^[\s"'“”‘’([{<]+|[\s"'“”‘’)\]}>.,!?;:,。!?;:、]+$/g, '')
1358 .toLocaleLowerCase()
1359 }
1360
1361 async function resolveMentionedMembersFromContent(
1362 state: AIChatSessionState,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected