UNPKG

infomaniak-ai-provider

Version:

The Infomaniak provider for the [AI SDK](https://ai-sdk.dev/docs/introduction) contains language model support for the [Infomaniak AI Tools API](https://www.infomaniak.com/en/hosting/ai-services/open-source-models).

75 lines 1.81 kB
{ "name": "infomaniak-ai-provider", "version": "0.4.0", "license": "Apache-2.0", "repository": { "type": "git", "url": "https://github.com/wireless25/infomaniak-ai-provider.git" }, "keywords": [ "ai", "infomaniak", "ai-sdk-provider", "ai-sdk", "infomaniak-ai-tools" ], "sideEffects": false, "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./client": { "types": "./dist/client/index.d.ts", "import": "./dist/client/index.mjs", "module": "./dist/client/index.mjs", "require": "./dist/client/index.js" } }, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "CHANGELOG.md", "client.d.ts", "dist/**/*" ], "engines": { "node": ">=18" }, "peerDependencies": { "zod": "^3.25.76 || ^4" }, "dependencies": { "@ai-sdk/openai-compatible": "^2.0.47", "@ai-sdk/provider": "^3.0.10", "@ai-sdk/provider-utils": "^4.0.27" }, "devDependencies": { "@antfu/eslint-config": "^5.4.1", "@types/node": "20.17.24", "dotenv": "^17.4.2", "eslint": "^9.39.4", "tsup": "^8.5.1", "typescript": "5.8.3", "vite": "^7.3.3", "vitest": "^3.2.4", "zod": "3.25.76" }, "publishConfig": { "access": "public" }, "scripts": { "build": "pnpm clean && tsup", "build:watch": "pnpm clean && pnpm generate-types && tsup --watch", "clean": "rm -rf dist *.tsbuildinfo", "lint": "eslint .", "lint:fix": "eslint . --fix", "generate-types": "pnpx tsx scripts/generate-types.ts", "typecheck": "tsc --noEmit", "test:watch": "vitest", "test": "vitest --run" } }