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. |
||
|---|---|---|
| .. | ||
| bin | ||
| migration/20260511173437_session-metadata | ||
| script | ||
| specs | ||
| src | ||
| test | ||
| .gitignore | ||
| AGENTS.md | ||
| bunfig.toml | ||
| Dockerfile | ||
| git | ||
| package.json | ||
| parsers-config.ts | ||
| README.md | ||
| sst-env.d.ts | ||
| tsconfig.json | ||