The generated SDK flattens Schema.NullOr to plain strings, so the runtime schema with (string | null)[] effort values no longer matched the generated Provider type and typecheck failed on dev. models.dev uses null to mean reasoning can be disabled; map it to "none" at parse time and keep the public schema plain strings. |
||
|---|---|---|
| .. | ||
| amazon-bedrock.test.ts | ||
| cf-ai-gateway-e2e.test.ts | ||
| digitalocean.test.ts | ||
| gitlab-duo.test.ts | ||
| header-timeout.test.ts | ||
| model-status.test.ts | ||
| provider.test.ts | ||
| transform.test.ts | ||