2026 年 10 月 31 日 · 星期六DeepSeek Harness 中文社区动态第 74 期
dsh-ai.com 每日简报DEEPSEEK HARNESS OBSERVER
DeepSeek Harness · 社区讨论

Gemini: every request fails with HTTP 400 when a tool schema contains $ref / $defs / additionalProperties

#10904 · angel12538 · 2026-10-24

📝 摘要

工具 schema 含 $ref/$defs 时 Gemini 请求报 HTTP 400

📄 正文节选

Summary When a session has any tool loaded whose `parameters` JSON Schema uses `$ref`, `$defs`, or `additionalProperties`, every request to a Google Gemini model fails with: ``` HTTP 400 {"error":{"code":400,"message":"Request contains an invalid argument.","status":"INVALID_ARGUMENT"}} ``` Because ……

节选自讨论正文开头,完整内容见原文

🔗 阅读原文

GitHub 讨论 #10904 ↗

💬 更多热门讨论

← 返回热门讨论 · 查看问题库