mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-19 06:30:10 +08:00
* fix: update deepseek dependency to version 1.0.31 and improve provider creation logging * chore * feat: deepseek official hybrid infer * fix: deepseek-v3.2-speciale tooluse and reasoning * fix: 添加固定推理模型支持并更新相关逻辑 * refactor: simplify logic * feat: aihubmix * all system_providers * feat: cherryin * temp fix * fix: address PR review feedback for DeepSeek v3.2 implementation - Add default case in buildCherryInProviderOptions to fallback to genericProviderOptions - Add clarifying comment for switch fall-through in reasoning.ts - Add comprehensive test coverage for isFixedReasoningModel (negative cases) - Add test coverage for new provider whitelist (deepseek, cherryin, new-api, aihubmix, sophnet, dmxapi) - Add test coverage for isDeepSeekHybridInferenceModel prefix patterns - Verify function calling logic works correctly via regex matching after removing provider-based checks - Use includes() for deepseek-chat matching to support potential variants 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> * fix: remove unnecessary fall-through case for unknown providers in getReasoningEffort --------- Co-authored-by: Claude <noreply@anthropic.com>
66 lines
1.5 KiB
JSON
66 lines
1.5 KiB
JSON
{
|
|
"name": "@cherrystudio/ai-sdk-provider",
|
|
"version": "0.1.3",
|
|
"description": "Cherry Studio AI SDK provider bundle with CherryIN routing.",
|
|
"keywords": [
|
|
"ai-sdk",
|
|
"provider",
|
|
"cherryin",
|
|
"vercel-ai-sdk",
|
|
"cherry-studio"
|
|
],
|
|
"author": "Cherry Studio",
|
|
"license": "MIT",
|
|
"homepage": "https://github.com/CherryHQ/cherry-studio",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/CherryHQ/cherry-studio.git",
|
|
"directory": "packages/ai-sdk-provider"
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/CherryHQ/cherry-studio/issues"
|
|
},
|
|
"type": "module",
|
|
"main": "dist/index.cjs",
|
|
"module": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsc -w",
|
|
"clean": "rm -rf dist",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"peerDependencies": {
|
|
"@ai-sdk/anthropic": "^2.0.29",
|
|
"@ai-sdk/google": "^2.0.23",
|
|
"@ai-sdk/openai": "^2.0.64",
|
|
"ai": "^5.0.26"
|
|
},
|
|
"dependencies": {
|
|
"@ai-sdk/openai-compatible": "^1.0.28",
|
|
"@ai-sdk/provider": "^2.0.0",
|
|
"@ai-sdk/provider-utils": "^3.0.17"
|
|
},
|
|
"devDependencies": {
|
|
"tsdown": "^0.13.3",
|
|
"typescript": "^5.8.2",
|
|
"vitest": "^3.2.4"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.js",
|
|
"require": "./dist/index.cjs",
|
|
"default": "./dist/index.js"
|
|
}
|
|
}
|
|
}
|