MCPcopy
hub / github.com/TanStack/ai / chat-structured-output-null-normalization.test.ts

File chat-structured-output-null-normalization.test.ts

packages/ai/tests/chat-structured-output-null-normalization.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1/**
2 * Structured output: schema-aware null normalization.
3 *
4 * To satisfy OpenAI-style strict schemas, optional fields are widened to

Callers

nothing calls this directly

Calls 8

createMockAdapterFunction · 0.90
chatFunction · 0.90
collectChunksFunction · 0.90
undoNullWideningFunction · 0.90
completeObjectFunction · 0.85
completeValueFunction · 0.85
textTurnFunction · 0.70

Tested by

no test coverage detected