Highlights
- Structured error detection: self-check now prefers OpenAI-style
error.param/error.code/error.typeover plain-text matching, with regex as fallback. Fewer false positives on rate-limit / model-not-found responses across gateways. probeOpenAiChatparses the error body once intoChatProbeOutcome.error.- New
sync-sharedscript: keeps vendored_shared/*aligned with the local Pi install (npm run sync-shared/npm run check-shared). - New
detect-testsmoke tests: 19 cases covering the capability detectors, including the tricky non-capability errors (npm test).
Install:
pi install git:github.com/BevalZ/pi-provider