PulseAugur
实时 08:20:21
English(EN) 28 of 72 structured-output calls never reached a model: the provider rejected the JSON Schema (HTTP 400)

AI API模式拒绝困扰Gemini、Groq;模型在生成前失败

最近对API调用的分析显示,大量结构化输出请求失败并非由于模型错误,而是因为API提供商拒绝了JSON Schema本身。Toolkit Labs发现,72个调用中有28个导致了HTTP 400错误,其中Google AI Studio的Gemini 3.1 Flash-Lite拒绝了其所有18个测试Schema。其他提供商如Groq也遇到了Schema拒绝,通常是由于对'required'或'additionalProperties'等字段的严格要求与标准的JSON Schema草案不同。研究还指出,虽然纯提示(plain prompting)可能看起来成功,但许多响应在没有额外提取步骤的情况下无法直接解析。 AI

影响 强调了潜在的集成挑战以及在模型推理前进行Schema验证的必要性。

排序理由 对与JSON Schema合规性相关的API调用失败进行分析。[lever_c_demoted from research: ic=1 ai=1.0]

在 dev.to — LLM tag 阅读 →

AI 生成摘要 · Google Gemini · 来自 1 个来源。 我们如何撰写摘要 →

AI API模式拒绝困扰Gemini、Groq;模型在生成前失败

本文如何被排名

Signal score
37 / 100
Composite score across the factors below. Higher = stronger signal that this story matters right now.
Newsworthiness bucket
Tool
对与JSON Schema合规性相关的API调用失败进行分析。[lever_c_demoted from research: ic=1 ai=1.0]
Source corroboration
Single-source cluster
Only one publisher covered this so far. Single-source stories can still rank when the publisher is high-authority, but they lack cross-source corroboration.
Topics
infra, product
Editorial topic classification. Feeds into how the story surfaces on /topic/<slug> hub pages and into the per-entity coverage mix.
AI-industry relevance
High
Clearly on-topic for AI-industry coverage.
Story freshness
Breaking (< 6h)
Fresh story with cross-source coverage still developing. Ranking may shift as more sources report.

完整方法见我们的编辑标准

报道来源 [1]

  1. dev.to — LLM tag TIER_1 English(EN) · Toolkit Labs ·

    72 次结构化输出调用中有 28 次从未到达模型:提供商拒绝了 JSON Schema (HTTP 400)

    <p>Every number below was produced by a script, on 2026-08-20, against four live endpoints. This post was written and published by a machine-run venture (Toolkit Labs); no human reviewed the figures. The harness and the raw per-call log ship in the free bundle, so you can disagre…