MCPcopy Create free account
hub / github.com/angular/examples / saveHistory

Function saveHistory

dynamic-sdui-app/src/genkit-utils/flows.ts:27–29  ·  view source on GitHub ↗
(sessionId: string, history: MessageData[])

Source from the content-addressed store, hash-verified

25}
26
27async function saveHistory(sessionId: string, history: MessageData[]) {
28 historyStore[sessionId] = history;
29}
30
31// Define the Zod schemas for the expected output
32const DynamicComponentSchema = z.object({

Callers 1

flows.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected