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

Function msg

packages/node-runtime/src/semantic-index/chunker.test.ts:23–25  ·  view source on GitHub ↗
(id: number, content: string | null, minute: number, sender = '张三', type?: number)

Source from the content-addressed store, hash-verified

21}
22
23function msg(id: number, content: string | null, minute: number, sender = '张三', type?: number): ChunkMessageInput {
24 return { id, content, ts: minute * MINUTE, senderName: sender, type }
25}
26
27test('isSemanticVoid detects fillers, placeholders, empty and void types', () => {
28 assert.equal(isSemanticVoid(msg(1, '好的', 0)), true)

Callers 1

chunker.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected