mirror of
https://github.com/anomalyco/opencode.git
synced 2026-07-23 02:36:57 -04:00
8eef79784e
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.