UniGPT provider for pi
Native /login with a verified API key, automatic model discovery from UniGPT's /models endpoint, per-deployment deployment-id headers, and model metadata from pi's bundled catalog.
This commit is contained in:
commit
4e854ba8c2
1 changed files with 2416 additions and 0 deletions
53
package.json
Normal file
53
package.json
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
{
|
||||
"name": "pi-unigpt",
|
||||
"version": "0.1.0",
|
||||
"description": "UniGPT (University of Graz) provider for pi: /login with an API key, automatic model discovery.",
|
||||
"license": "MIT",
|
||||
"author": "Benjamin Hackl",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/behackl/pi-unigpt.git"
|
||||
},
|
||||
"homepage": "https://github.com/behackl/pi-unigpt#readme",
|
||||
"bugs": {
|
||||
"url": "https://github.com/behackl/pi-unigpt/issues"
|
||||
},
|
||||
"type": "module",
|
||||
"keywords": [
|
||||
"pi-package",
|
||||
"pi",
|
||||
"pi-extension",
|
||||
"unigpt",
|
||||
"mygpt",
|
||||
"uni-graz"
|
||||
],
|
||||
"files": [
|
||||
"src",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=22.19.0"
|
||||
},
|
||||
"pi": {
|
||||
"extensions": [
|
||||
"./src/index.ts"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"check": "tsc --noEmit",
|
||||
"test": "node --import tsx --test test/*.test.ts",
|
||||
"ci": "pnpm run check && pnpm test"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"@earendil-works/pi-ai": ">=1.5.0 <2",
|
||||
"@earendil-works/pi-coding-agent": ">=1.5.0 <2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@earendil-works/pi-ai": "1.5.0",
|
||||
"@earendil-works/pi-coding-agent": "1.5.0",
|
||||
"@types/node": "^22.19.0",
|
||||
"tsx": "^4.20.0",
|
||||
"typescript": "^5.9.0"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue