Support pi 1.3 and newer
Some checks failed
CI / test (22) (push) Failing after 35s
CI / test (24) (push) Failing after 28s

This commit is contained in:
Benjamin Hackl 2026-11-03 21:07:18 +01:00
commit 46c1731a92
3 changed files with 11 additions and 3 deletions

View file

@ -62,6 +62,14 @@ server response bodies.
stores it. Validation always uses the default endpoint, even if a user
overrides `baseUrl` in `models.json`.
## Compatibility
Supported: pi 1.3 and newer (`peerDependencies`). Development pins pi 1.5.
On 1.0–1.2 the tests pass and a live session worked, but `pnpm run check`
fails: pi's `Provider` typing rejects this provider, and 1.0–1.1 also lack
`RefreshModelsContext.baseUrl`, so `baseUrl` overrides are ignored there. To check another version, pin both
`@earendil-works/*` dev dependencies to it and run `pnpm run ci`.
## Known server-side issues
As of November 2026, `gpt-5-nano` and `gpt-4.1-nano` return HTTP 500

View file

@ -9,7 +9,7 @@ streaming responses, and image input all work.
## What you need
- **pi 1.5 or newer** ([installation guide](https://pi.dev))
- **pi 1.3 or newer** ([installation guide](https://pi.dev))
- **A uniGPT API key.** If you don't have one, ask the uniGPT team at the
[IDea_Lab](https://idea-lab.uni-graz.at/en/digital-innovation-lab/unigpt-and-studigpt).

View file

@ -41,8 +41,8 @@
"ci": "pnpm run check && pnpm test"
},
"peerDependencies": {
"@earendil-works/pi-ai": ">=1.5.0 <2",
"@earendil-works/pi-coding-agent": ">=1.5.0 <2"
"@earendil-works/pi-ai": ">=1.3.0 <2",
"@earendil-works/pi-coding-agent": ">=1.3.0 <2"
},
"devDependencies": {
"@earendil-works/pi-ai": "1.5.0",