lobehub/packages/model-runtime/package.json
sxjeru 1c1af17716
feat: add auto aspect ratio and image search support for Nano Banana 2 (#12537)
* Update sync.yml

*  feat: update aspect ratio defaults to 'auto' for image generation models

*  feat: enhance grounding metadata handling with image search results support

*  feat: filter empty strings from searchQueries in groundingMetadata and update favicon handling in SearchGrounding component

*  feat: add inputToolTokens tracking and update related components for tool usage

*  feat: enhance search grounding with image results and update related components

*  feat: add ImageSearchRef component and related tests for image reference handling

* fix test: rename VertexAIStream to GoogleGenerativeAIStream for consistency in test cases

* Update sync.yml
2026-03-03 19:31:29 +08:00

45 lines
1.2 KiB
JSON

{
"name": "@lobechat/model-runtime",
"version": "1.0.0",
"private": true,
"exports": {
".": "./src/index.ts",
"./vertexai": "./src/providers/vertexai/index.ts"
},
"scripts": {
"test": "vitest",
"test:coverage": "vitest --coverage --silent='passed-only'",
"test:update": "vitest -u"
},
"dependencies": {
"@anthropic-ai/sdk": "^0.73.0",
"@aws-sdk/client-bedrock-runtime": "^3.941.0",
"@azure-rest/ai-inference": "1.0.0-beta.5",
"@azure/core-auth": "^1.10.1",
"@fal-ai/client": "^1.7.2",
"@google/genai": "^1.43.0",
"@huggingface/inference": "^4.13.4",
"@lobechat/business-model-runtime": "workspace:*",
"@lobechat/const": "workspace:*",
"@lobechat/utils": "workspace:*",
"async-retry": "^1.3.3",
"dayjs": "^1.11.19",
"debug": "^4.4.3",
"immer": "^10.2.0",
"langfuse": "^3.38.6",
"langfuse-core": "^3.38.6",
"model-bank": "workspace:*",
"nanoid": "^5.1.6",
"ollama": "^0.6.2",
"openai": "^4.104.0",
"replicate": "^1.4.0",
"type-fest": "^5.2.0",
"url-join": "^5.0.0"
},
"devDependencies": {
"@lobechat/types": "workspace:*"
},
"peerDependencies": {
"zod": "^3.25.76"
}
}