IanShaw027
c1e25b7ecf
fix(upstream): 完善边界检查和 thinking block 处理
基于 Gemini + Codex 审查结果的修复:
1. thinking block dummy signature 填充
- Gemini 模型现在会填充 dummyThoughtSignature
- 与 tool_use 处理逻辑保持一致
2. 边界检查增强
- buildTools: 跳过空工具名称
- buildTools: 为 nil schema 提供默认值
- convertClaudeToolsToGeminiTools: 为 nil params 提供默认值
3. 防止下游 API 验证错误
- 确保所有工具都有有效的 parameters
- 默认 schema: {type: 'object', properties: {}}
审查报告:Gemini 评分 95%, Codex 评分 8.2/10
2025-12-31 21:44:56 +08:00
..
2025-12-31 21:44:56 +08:00
2025-12-19 16:00:09 +08:00
2025-12-29 17:46:52 +08:00
2025-12-28 14:53:36 +08:00
2025-12-28 14:53:36 +08:00
2025-12-26 00:11:03 -08:00
2025-12-31 14:51:58 +08:00
2025-12-22 22:58:31 +08:00
2025-12-22 22:58:31 +08:00
2025-12-19 21:26:19 +08:00
2025-12-26 08:47:00 +08:00
2025-12-18 20:32:24 +08:00
2025-12-20 02:29:52 -05:00
2025-12-27 10:50:25 +08:00