Skip to content

Commit 31cd6d0

Browse files
committed
feat(core): 升级 Gemini SDK 到 @google/genai 并支持新特性
- 迁移到统一的 @google/genai SDK - 支持动态模型列表获取 - 新增思考功能参数(thinkingBudget、includeThoughts) - 实现工具调用支持 - 简化消息处理逻辑 - 添加完整的集成测试套件
1 parent 2fb11e1 commit 31cd6d0

File tree

8 files changed

+857
-160
lines changed

8 files changed

+857
-160
lines changed

packages/core/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"vitest": "^3.0.2"
3131
},
3232
"dependencies": {
33-
"@google/generative-ai": "^0.21.0",
3433
"@google/genai": "^1.0.0",
3534
"@types/mustache": "^4.2.5",
3635
"dexie": "^4.0.11",

0 commit comments

Comments
 (0)