MCPcopy Index your code
hub / github.com/Noumena-Network/code / createAssistantMessage

Function createAssistantMessage

src/utils/sessionStorage.test.ts:29–36  ·  view source on GitHub ↗
(content: string, uuid?: string)

Source from the content-addressed store, hash-verified

27}
28
29function createAssistantMessage(content: string, uuid?: string): any {
30 return {
31 type: 'assistant',
32 uuid: uuid ?? randomUUID(),
33 timestamp: new Date().toISOString(),
34 message: { content: [{ type: 'text', text: content }] },
35 }
36}
37
38function createProgressMessage(uuid?: string): any {
39 return {

Callers 1

Calls 1

randomUUIDFunction · 0.90

Tested by

no test coverage detected