gemini好像没有支持 structured output API,另外还没有支持max-completion-tokens参数
Activity
yym68686 commentedon Nov 15, 2025
给个官方文档的链接,我去看看怎么适配。
zzy-life commentedon Nov 15, 2025
https://ai.google.dev/gemini-api/docs/structured-output?hl=zh-cn&example=recipe
zzy-life commentedon Nov 18, 2025
现在中转后的gpt模型支持这个吗?
https://platform.openai.com/docs/guides/structured-outputs
yym68686 commentedon Nov 18, 2025
openai api 是支持的,gemini应该还没支持。