TanStack
OSS
ai
Sign in / Sign up
Open main menu
ai
GitHub
Overview
Runs
Analytics
Loading workspace stats
Loading workspace insights...
Statistics interval
7 days
30 days
Latest CI Pipeline Executions
Status
Fix filter
Filter
Fuzzy
Filter range
Sort by
Sort by
Start time
Sort ascending
Sort descending
Succeeded
562-chat-inferschematypezzodtypet-resolves-to-unknown-forces-parse-round-trip-or-cast
37188a40 fix(ai): infer Zod outputSchema instead of collapsing to unknown Zod's core $ZodType['~standard'] is typed as StandardSchemaV1.Props (no jsonSchema converter), so chat({ outputSchema: zodSchema }) fell through to unknown and forced callers to cast or re-parse. Widen SchemaInput + InferSchemaType to also match StandardSchemaV1 so the inference recovers; runtime path is unchanged. Add an actionable runtime error for validator-only schemas (no ~standard.jsonSchema) that the type widening now lets through. Closes #562 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Succeeded
562-chat-inferschematypezzodtypet-resolves-to-unknown-forces-parse-round-trip-or-cast
37188a40 fix(ai): infer Zod outputSchema instead of collapsing to unknown Zod's core $ZodType['~standard'] is typed as StandardSchemaV1.Props (no jsonSchema converter), so chat({ outputSchema: zodSchema }) fell through to unknown and forced callers to cast or re-parse. Widen SchemaInput + InferSchemaType to also match StandardSchemaV1 so the inference recovers; runtime path is unchanged. Add an actionable runtime error for validator-only schemas (no ~standard.jsonSchema) that the type widening now lets through. Closes #562 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
by Tom Beckenham
T
Previous page
Previous
Next
Next page