UNPKG

@friendliai/ai-provider

Version:

Learn how to use the FriendliAI provider for the Vercel AI SDK.

73 lines 1.86 kB
{ "name": "@friendliai/ai-provider", "version": "0.2.6", "license": "Apache-2.0", "sideEffects": false, "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist/**/*", "CHANGELOG.md" ], "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./internal": { "types": "./internal/dist/index.d.ts", "import": "./internal/dist/index.mjs", "module": "./internal/dist/index.mjs", "require": "./internal/dist/index.js" } }, "dependencies": { "@ai-sdk/openai-compatible": "^0.2.14", "@ai-sdk/provider": "1.1.3", "@ai-sdk/provider-utils": "2.2.8" }, "devDependencies": { "@edge-runtime/vm": "^5.0.0", "@types/node": "^22.15.17", "globals": "^16.1.0", "tsup": "^8.4.0", "typescript": "5.8.3", "zod": "3.24.4" }, "peerDependencies": { "zod": "^3.0.0" }, "engines": { "node": ">=18" }, "publishConfig": { "access": "public" }, "homepage": "https://friendli.ai/docs/sdk/integrations/vercel-ai-sdk", "repository": { "type": "git", "url": "https://github.com/friendliai/ai-provider.git" }, "bugs": { "url": "https://friendliai.canny.io/feature-requests-feedback" }, "keywords": [ "ai", "vercel-ai", "friendliai" ], "scripts": { "build": "tsup", "clean": "rm -rf dist && rm -rf internal/dist", "dev": "tsup --watch", "lint": "eslint \"./**/*.ts*\"", "type-check": "tsc --noEmit", "prettier-check": "prettier --check \"./**/*.ts*\"", "test": "pnpm test:node && pnpm test:edge", "test:edge": "vitest --config vitest.edge.config.ts --run", "test:node": "vitest --config vitest.node.config.ts --run" } }