Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
createMockAdapter
Function · 0.90
chat
Function · 0.90
collectChunks
Function · 0.90
convertSchemaForStructuredOutput
Function · 0.90
undoNullWidening
Function · 0.90
completeObject
Function · 0.85
completeValue
Function · 0.85
textTurn
Function · 0.70
Tested by
no test coverage detected