fruitbars / simple-one-api

OpenAI 接口接入适配,支持千帆大模型平台、讯飞星火大模型、腾讯混元以及MiniMax、Deep-Seek,等兼容OpenAI接口,仅单可执行文件,配置超级简单,一键部署,开箱即用. Seamlessly integrate with OpenAI and compatible APIs using a single executable for quick setup and deployment.
MIT License
1.38k stars 121 forks source link

Autogen调用代理后的千帆大模型报错 #56

Closed jian1621 closed 3 months ago

jian1621 commented 3 months ago

用官方AutogenStudio调用代理后的千帆大模型进行测试时会报'NoneType'错,但是调用aihubmix转发的openAi接口不报错,怀疑是模型名称代理的问题,请求的时候,根据配置将gpt-3.5-turbo转换为ERNIE-Speed-128K发给千帆了,但是消息回来的时候没有将消息体里的ERNIE-Speed-128K转成gpt-3.5-turbo,导致autogen处理不了了。

fruitbars commented 3 months ago

v0.9.4修复了,https://github.com/fruitbars/simple-one-api/releases/tag/v0.9.4