Skip to content

Capabilities, /v1/models and real behaviour agree; bounded phase telemetry #2139

Closed

Description

@ashhart

Keep capabilities, /v1/models and real behaviour agreeing per model and backend, and add bounded phase telemetry whose overhead is measured.

Done when: they agree on every qualified pair, with overhead shown on and off.

Measure first, on current main with the existing tools: if the problem doesn't show, write up the number and stop; finding nothing is a result. Replies stay byte-identical (drafted equal to plain, resumed equal to fresh, concurrent equal to solo), and a new option is off by default until measured. No lossy formats. Search open PRs first.

Activity

  1. ashhart commented on Nov 8, 2026

    @ashhart
    OwnerAuthor

    Closing as done. Capabilities and /v1/models now agree on the pairs our study found. Each discovery entry publishes the loaded capability flags through the same accessor as admission (#2157, CHANGELOG.md:121), and the format, reasoning and error-code fixes landed in #2183 to #2190 and #2195. The telemetry is #2158: TENSORFOLD_PHASE_METRICS=1 adds one bounded queue-wait histogram, off by default (CHANGELOG.md:163, zig/src/server/serve.zig:203). Unset, /metrics is byte for byte as before, and replies don't change either way. Its on/off overhead run measured −0.2% to +0.8% on an M5 Ultra. The thinking-off refusal continues on #2170.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions