MCPcopy
hub / github.com/coder/mux / makeUserLine

Function makeUserLine

src/node/services/analytics/etl.test.ts:99–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

97}
98
99function makeUserLine(): string {
100 return JSON.stringify({
101 role: "user",
102 content: "test",
103 createdAt: "2024-01-01T00:00:00.000Z",
104 });
105}
106
107function parseInteger(value: unknown, fieldName: string): number {
108 if (typeof value === "number") {

Callers 2

writeBasicChatJsonlFunction · 0.85
etl.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected