SydneyQt
SydneyQt copied to clipboard
[BUG] 无法正常通过API使用o1模型
在通过API调用GPT-o1模型时 报错 error, status code: 400, message: Unsupported value: 'stream' does not support true with this model. Only the default (false) value is supported. 无法正常进行对话
似乎是因为流式传输导致的问题,但是我不知道怎么关闭这个功能。
见 https://github.com/songquanpeng/one-api/issues/1827
除了stream还有max_tokens、system角色等问题需要解决。需要处理的地方还挺多的,目前底层的库都还没适配。先等等看其他项目是怎么处理的吧。如果one-api直接适配过来的话直接接入中转一下就行了。