AIaW
AIaW copied to clipboard
作者考虑增加一个openai-compatible中的enable_thinking的设置吗?可以自由关闭和开启思考模式
Before you submit
- [ ] I have searched the existing issues and this is not a duplicate.
Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like A clear and concise description of what you want to happen.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.
Additional context Add any other context or screenshots about the feature request here.
OpenAI 兼容格式有这个参数吗?具体哪些服务商支持?
已经给你添加好了,open-compatible的sdk支持providerOptions这个参数,Qwen3可以通过这个添加enable_thinking参数
构造函数里面需要添加一个name占位符
构造函数里面的name和providerOptions保持一致
emm, 这种特定服务商/模型的参数不适合这样添加。我看等 ai-sdk v5 稳定后再支持自定义 body 和 header 字段