Skip to content

v1.1.0 — structured error detection

Latest

Choose a tag to compare

@BevalZ BevalZ released this 15 Jul 03:36
· 3 commits to master since this release

Highlights

  • Structured error detection: self-check now prefers OpenAI-style error.param / error.code / error.type over plain-text matching, with regex as fallback. Fewer false positives on rate-limit / model-not-found responses across gateways.
  • probeOpenAiChat parses the error body once into ChatProbeOutcome.error.
  • New sync-shared script: keeps vendored _shared/* aligned with the local Pi install (npm run sync-shared / npm run check-shared).
  • New detect-test smoke tests: 19 cases covering the capability detectors, including the tricky non-capability errors (npm test).

Install:

pi install git:github.com/BevalZ/pi-provider