mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-16 20:51:43 +00:00
* fix(anthropic): don't crash models list when a configured Sonnet 5 model has no cost applyAnthropicSonnet5Cost read params.model.cost.input unconditionally, so 'openclaw models list' aborted with 'Cannot read properties of undefined (reading input)' whenever config supplied an anthropic Sonnet 5 model row without cost metadata (e.g. an agents.defaults.models runtime binding). Guard with optional chaining — a costless model now falls through and gets the canonical Sonnet 5 cost applied. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> * fix(models): normalize missing Sonnet 5 costs Co-authored-by: VACInc <3279061+VACInc@users.noreply.github.com> * chore(plugin-sdk): refresh API baseline * ci(plugin-sdk): update surface budgets --------- Co-authored-by: VACInc <3279061+VACInc@users.noreply.github.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Peter Steinberger <steipete@gmail.com>