mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 15:03:31 +00:00
- Added GeminiLLM provider implementation with GoogleGenerativeAI SDK - Supports streaming with text/thinking content and completion signals - Handles Gemini's parts-based content system (text, thought, functionCall) - Implements tool/function calling with proper format conversion - Maps between unified types and Gemini-specific formats (model vs assistant role) - Added test example matching other provider patterns - Fixed typo in AssistantMessage type (stopResaon -> stopReason) across all providers
44 lines
901 B
JSON
44 lines
901 B
JSON
{
|
|
"name": "@mariozechner/ai",
|
|
"version": "0.5.8",
|
|
"description": "Unified API for OpenAI, Anthropic, and Google Gemini LLM providers",
|
|
"type": "module",
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"clean": "rm -rf dist",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"check": "biome check --write .",
|
|
"prepublishOnly": "npm run clean && npm run build"
|
|
},
|
|
"dependencies": {
|
|
"@anthropic-ai/sdk": "0.60.0",
|
|
"@google/genai": "1.14.0",
|
|
"@google/generative-ai": "^0.24.1",
|
|
"chalk": "^5.5.0",
|
|
"openai": "5.12.2"
|
|
},
|
|
"keywords": [
|
|
"ai",
|
|
"llm",
|
|
"openai",
|
|
"anthropic",
|
|
"gemini",
|
|
"unified",
|
|
"api"
|
|
],
|
|
"author": "Mario Zechner",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/badlogic/pi-mono.git",
|
|
"directory": "packages/ai"
|
|
},
|
|
"engines": {
|
|
"node": ">=20.0.0"
|
|
}
|
|
}
|