Files
tpbproxy/package.json
wmantly bd9f058f26 Use official ollama npm client for all LLM calls
Replaces hand-rolled fetch to /api/chat with the ollama@0.6.3 package.

The package supplies proper Accept/Content-Type/User-Agent headers and

auto-handles the Ollama protocol, fixing the CDN 403s Node's bare fetch

gets against ollama.com during filing.

Both organize and search LLM ranking now route through controller/ollama.js.

Signed-off-by: William Mantly <wmantly@gmail.com>
2026-07-20 12:43:25 -04:00

38 lines
896 B
JSON

{
"name": "tpbproxy",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"migrate": "npx sequelize-cli db:migrate",
"start": "node ./bin/www",
"start-dev": "npx nodemon ./bin/www"
},
"author": "",
"license": "ISC",
"dependencies": {
"ejs": "^3.1.9",
"express": "^4.18.2",
"extend": "^3.0.2",
"http-proxy-middleware": "^0.20.0",
"jq-repeat": "^2.2.1",
"jquery": "^3.7.1",
"jquery-ui": "^1.13.2",
"ldapts": "^7.0.7",
"lru-native2": "^1.2.6",
"moment": "^2.30.1",
"mustache": "^4.2.0",
"ollama": "^0.6.3",
"p2psub": "^0.1.9",
"sequelize": "^6.35.2",
"sequelize-cli": "^6.6.2",
"socket.io": "^4.7.2",
"sqlite3": "^5.1.7-rc.0",
"transmission-promise": "^1.1.6"
},
"devDependencies": {
"nodemon": "^3.0.2"
}
}