api-drift

command
v0.9.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2026 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command api-drift probes upstream provider APIs for parameter-support drift: request parameters the adapters forward unconditionally that a model has stopped accepting. For each configured host×model it sends a baseline request, then one request per parameter, and classifies the upstream verdict. Registry hints (models.dev, OpenRouter) are fetched as corroborating witnesses but never trusted alone — a finding requires a live rejection. Observations persist to a state file so repeat runs distinguish new drift from known.

The tool detects and testifies; it deliberately files nothing. Findings (-findings) are a structured evidence report — verbatim upstream errors, witness verdicts, repro payloads — for a reviewer (human or LLM) to analyze against the adapters and catalog before authoring an issue or a catalog patch. A rejection message often carries nuance a mechanical filer would flatten (e.g. "only the default value is supported" is a value restriction, not an unsupported param).

Probes are synthetic one-word prompts with tiny max-token caps; no customer data is involved anywhere in the chain. Exit codes: 0 no drift, 1 drift found, 2 run error.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL