We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
感谢作者为推理模型添加了思维链展示功能!🙏 当前实现中,思维链字段名称存在不一致,导致部分 API 的兼容性问题。例如:
grok-3-mini-fast-beta
reasoning_content
deepseek/deepseek-r1:free
reasoning
希望能统一或适配不同 API 的思维链字段名称,以提高兼容性和一致性。
重现步骤:
示例代码:
{ "id": "74389f1a-e05a-4bf8-b96e-d83e184c2446", "object": "chat.completion.chunk", "created": 1746608576, "model": "grok-3-mini-fast-beta", "choices": [ { "delta": { "reasoning_content": " is", "role": "assistant" }, "logprobs": null, "finish_reason": null, "index": 0 } ] }
{ "id": "gen-1746608852-xIwuByvuBWfWfjCmiVvp", "provider": "Targon", "model": "deepseek/deepseek-r1:free", "object": "chat.completion.chunk", "choices": [ { "index": 0, "delta": { "role": "assistant", "content": "", "reasoning": "得到" }, "finish_reason": null } ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
感谢作者为推理模型添加了思维链展示功能!🙏 当前实现中,思维链字段名称存在不一致,导致部分 API 的兼容性问题。例如:
grok-3-mini-fast-beta
使用reasoning_content
字段。deepseek/deepseek-r1:free
(OpenRouter)使用reasoning
字段。希望能统一或适配不同 API 的思维链字段名称,以提高兼容性和一致性。
重现步骤:
grok-3-mini-fast-beta
模型的 API,响应中思维链字段为reasoning_content
。deepseek/deepseek-r1:free
模型的 API,响应中思维链字段为reasoning
。示例代码:
grok-3-mini-fast-beta
响应:deepseek/deepseek-r1:free
响应:The text was updated successfully, but these errors were encountered: