发布

  • [OPIK-6244] [BE][FE] feat: per-model Anthropic capability map (Opus 4.7 sampling params + xhigh effort) (#6523)

    frostbyte_neo 发布于 2026-05-05 06:53:39 +00:00

    • [OPIK-6244] [BE] feat: add supportsSamplingParams flag to LlmModelDefinition

    • [OPIK-6244] [BE] feat: mark Claude Opus 4.7 as not supporting sampling params

    • [OPIK-6244] [BE] test: cover supportsSamplingParams flag deserialization

    • [OPIK-6244] [BE] feat: strip temperature and top_p for Anthropic models that reject them

    Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

    • docs(anthropic): note the strip-rebuild must mirror mapper fields

    • [OPIK-6244] [FE] feat: expose supportsSamplingParams on LlmModelDefinition DTO

    • [OPIK-6244] [FE] feat: track supportsSamplingParams in model flag store

    • [OPIK-6244] [FE] feat: add supportsSamplingParams helper

    • [OPIK-6244] [FE] feat: hide temperature and top_p sliders for Anthropic models that reject them

    • [OPIK-6244] [FE] feat: omit temperature default for Anthropic models that reject it

    • [OPIK-6244] [FE] feat: omit temperature default in optimizer for Anthropic models that reject it

    • style(fe): apply prettier to OPIK-6244 test files

    • [OPIK-6244] [BE] refactor: use builder.from() in Anthropic sampling-params strip

    • [OPIK-6244] [BE] feat: skip temperature for LLM-as-Judge on Anthropic models that reject sampling params

    • [OPIK-6244] [BE] refactor: dedup supportsSamplingParams onto LlmModelRegistryService

    • [OPIK-6244] [FE] fix: hardcode Opus 4.7 as no-sampling-params to cover hydration and stale BE responses

    • [OPIK-6244] [BE][FE] refactor: replace YAML/registry plumbing with hardcoded model list

    • [OPIK-6244] [FE] fix: don't disable model-config trigger when configs object is empty

    • [OPIK-6244] [FE] fix: default Anthropic maxCompletionTokens before sending playground request

    • [OPIK-6244] [BE] revert: drop sampling-params strip; FE gate is the only enforcement point

    • [OPIK-6244] [FE] chore: trim stale BE-mirror comments after dropping the BE strip

    • [OPIK-6244] [FE] feat: add xhigh thinking effort for Opus 4.7; collapse Anthropic quirks into one capability map

    • [OPIK-6244] [FE] fix: fall back to high when stored thinking effort isn't valid for current model

    • [OPIK-6244] [FE] fix: normalize stale thinkingEffort in form state, not just display

    • [OPIK-6244] [FE] refactor: centralize Anthropic capability normalization in updateProviderConfig

    • [OPIK-6244] [FE] refactor: extract sanitizeConfigForRequest helper, key off provider not substring

    • [OPIK-6244] [BE][FE] feat: relax LlmAsJudgeModelParameters.temperature, normalize loaded judge rules

    • [OPIK-6244] [FE] chore: trim leftovers from earlier iterations

    • [OPIK-6244] [FE] fix: also strip temperature in sanitizeConfigForRequest for models that reject sampling params

    • [OPIK-6244] [FE] fix: don't disable model-config trigger on empty configs (handles stale persisted state)

    • [OPIK-6244] [BE] fix: null-guard temperature read in VertexAIClientGenerator


    Co-authored-by: Claude Sonnet 4.6 noreply@anthropic.com

    下载附件