MCPcopy Create free account
hub / github.com/cortexkit/magic-context / recordPiLiveModel

Function recordPiLiveModel

packages/pi-plugin/src/context-handler.ts:507–509  ·  view source on GitHub ↗
(sessionId: string, modelKey: string)

Source from the content-addressed store, hash-verified

505}
506
507export function recordPiLiveModel(sessionId: string, modelKey: string): void {
508 liveModelBySession.set(sessionId, modelKey);
509}
510
511function summarizeTransformError(error: unknown): string {
512 const raw = error instanceof Error ? error.message : String(error);

Callers 3

primeBaselineFunction · 0.90

Calls 1

setMethod · 0.80

Tested by 1

primeBaselineFunction · 0.72