MCPcopy Create free account
hub / github.com/Noumena-Network/code / msg

Function msg

src/components/messages/useTranscriptViewModel.test.ts:11–17  ·  view source on GitHub ↗
(uuid: string)

Source from the content-addressed store, hash-verified

9} from './useTranscriptViewModel.js'
10
11function msg(uuid: string): RenderableMessage {
12 return {
13 type: 'assistant',
14 uuid,
15 message: { content: [] },
16 } as unknown as RenderableMessage
17}
18
19describe('useTranscriptViewModel helpers', () => {
20 it('applies cap slicing with monotonic slice anchors', () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected