发布

  • [NA] [FE] fix: enable Sonnet 5 and Fable 5 in playground and online scoring (#7318)

    frostbyte_neo 发布于 2026-07-02 10:44:18 +00:00

    Sonnet 5 and Fable 5 were missing from ANTHROPIC_MODEL_CAPABILITIES, so
    supportsSamplingParams defaulted to true — the playground kept the
    temperature/top_p sliders visible and sent those params, which these models
    reject with a 400 ("temperature is deprecated for this model"). Add both
    models to the map with supportsSamplingParams: false and the low/medium/high/
    xhigh/max thinking-effort options, matching Opus 4.7/4.8. This hides the
    sliders, strips the params from config state, and last-mile-strips them from
    the request payload via the existing supportsSamplingParams gating.

    Co-authored-by: Claude Opus 4.8 noreply@anthropic.com

    下载附件