Skip to content

feat: add cmd/api-drift upstream param-drift probe - #396

Merged
aaliboyev merged 1 commit into
mainfrom
feat/api-drift-probe
Jul 28, 2026
Merged

feat: add cmd/api-drift upstream param-drift probe#396
aaliboyev merged 1 commit into
mainfrom
feat/api-drift-probe

Conversation

@aaliboyev

Copy link
Copy Markdown
Member

Adds a standalone tool that detects upstream parameter-support drift: request params the adapters forward that a model has stopped accepting.

  • Probe matrix (YAML config): hosts × models × params; baseline request first, then one probe per param; verdicts supported / unsupported / rejected_other / inconclusive (auth/429/5xx never count as drift).
  • Registry hints (models.dev, OpenRouter supported_parameters) recorded as corroborating witnesses; a finding always requires a live rejection.
  • -findings writes a JSON evidence report (verbatim upstream error, witnesses, repro payload) for review; -state separates new drift from known so repeat runs are quiet.
  • Probes are synthetic one-word prompts with tiny max-token caps; exit 1 on drift for CI use.

First run produced #394 and #395.

Probes host/model/param matrices against live provider APIs, classifies
rejections, corroborates with registry hints (models.dev, OpenRouter),
and writes a JSON evidence report; a state file separates new drift from
known. Detection only — issue/PR authorship is left to a reviewer.
@aaliboyev
aaliboyev merged commit c996ade into main Jul 28, 2026
2 checks passed
@aaliboyev
aaliboyev deleted the feat/api-drift-probe branch July 28, 2026 00:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant