* Add OpenRouter * fix cohere setting description * fix: update to auto router * fix: auto router * add: config parameters * fix: correct max tokens --------- Co-authored-by: Jack Tri Le <Jack> Co-authored-by: Hoang Ha <64120343+hahuyhoang411@users.noreply.github.com>
44 lines
1.2 KiB
JSON
44 lines
1.2 KiB
JSON
{
|
|
"name": "@janhq/inference-openrouter-extension",
|
|
"productName": "OpenRouter Inference Engine",
|
|
"version": "1.0.0",
|
|
"description": "This extension enables Open Router chat completion API calls",
|
|
"main": "dist/index.js",
|
|
"module": "dist/module.js",
|
|
"engine": "openrouter",
|
|
"author": "Jan <service@jan.ai>",
|
|
"license": "AGPL-3.0",
|
|
"scripts": {
|
|
"build": "tsc -b . && webpack --config webpack.config.js",
|
|
"build:publish": "rimraf *.tgz --glob && yarn build && npm pack && cpx *.tgz ../../pre-install",
|
|
"sync:core": "cd ../.. && yarn build:core && cd extensions && rm yarn.lock && cd inference-openrouter-extension && yarn && yarn build:publish"
|
|
},
|
|
"exports": {
|
|
".": "./dist/index.js",
|
|
"./main": "./dist/module.js"
|
|
},
|
|
"devDependencies": {
|
|
"cpx": "^1.5.0",
|
|
"rimraf": "^3.0.2",
|
|
"webpack": "^5.88.2",
|
|
"webpack-cli": "^5.1.4",
|
|
"ts-loader": "^9.5.0"
|
|
},
|
|
"dependencies": {
|
|
"@janhq/core": "file:../../core",
|
|
"fetch-retry": "^5.0.6",
|
|
"ulidx": "^2.3.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"files": [
|
|
"dist/*",
|
|
"package.json",
|
|
"README.md"
|
|
],
|
|
"bundleDependencies": [
|
|
"fetch-retry"
|
|
]
|
|
}
|