OpenCode v1.3.13 may omit cost and capabilities from provider model config responses. The deriveModelMetadata function accessed these fields without optional chaining, causing a TypeError that crashes the chat interface.
OpenCode v1.3.13 may omit cost and capabilities from provider model config responses. The deriveModelMetadata function accessed these fields without optional chaining, causing a TypeError that crashes the chat interface.