MCPcopy Index your code
hub / github.com/TanStack/ai / logPrefixes

Function logPrefixes

packages/ai/tests/debug-logging-chat.test.ts:33–39  ·  view source on GitHub ↗
(
  calls: ReadonlyArray<ReadonlyArray<unknown>>,
)

Source from the content-addressed store, hash-verified

31}
32
33const logPrefixes = (
34 calls: ReadonlyArray<ReadonlyArray<unknown>>,
35): Array<string> =>
36 calls.map((call) => {
37 const m = call[0]
38 return typeof m === 'string' ? m : String(m)
39 })
40
41// ============================================================================
42// Tests

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected