Skip to content

modelpin 0.5.1

Choose a tag to compare

@samarthputhraya samarthputhraya released this 04 Oct 17:36
· 142 commits to main since this release
d3bbb2a

Not published to PyPI. This release was tagged, but the publish job waited for the required pypi approval, none was given, and GitHub failed it after 30 days. These changes first reached PyPI in 0.5.2.

Fixed

  • Tool scenarios should now replay on gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna,
    gpt-6-sol and gpt-6-luna.
    According to OpenAI's and Azure OpenAI's documentation, Chat
    Completions accepts tools from these models only with reasoning_effort: none and rejects the
    request otherwise (for gpt-5.6, even when no effort is sent). So every tool scenario in a
    check against the successor OpenAI names for its 23 October 2026 retirements would come back
    "could not replay"; this has not yet been confirmed by a live call. Modelpin now sends none
    when a scenario sends tools to one of them and no effort was chosen, and the reports say so.
    With no reasoning_effort set, no other request changes, apart from the gpt-6* change
    below.
  • gpt-6* ids are now treated as reasoning models: they get max_completion_tokens and no
    temperature.

Added

  • reasoning_effort for OpenAI reasoning models, in modelpin.yaml or as
    --reasoning-effort on baseline and check, so a check measures the effort you will ship.
    It is sent only to reasoning models (gpt-5.x, gpt-6, o-series); a scenario can set its own.
    last-report.md (the pull-request comment) and migration-report.md state the effort each
    side was sent, read from the recorded runs. modelpin report does not read the setting yet. Choosing an effort other than none for a tool scenario on one of the
    models above stops that scenario before any call, because Chat Completions would reject it.
    The Responses API is not supported yet.

  • A migration report for the person who decides on the switch. Whenever modelpin check
    writes last-report.md, it now also writes .modelpin/migration-report.md: the same run in
    plain English, with a one-line bottom line, a one-paragraph verdict, each changed scenario
    with what it means for your app and a before and after example, what the check did not cover
    (untested behavior, changes that show up in only some runs, scenarios that could not be
    measured or compared), and the run's date, both models, runs per scenario, judge calls and
    tokens. It is a renderer over the verdicts check already computes and changes no verdict or
    exit code.

Full changelog: v0.5.0...v0.5.1