ai365vip / chat-api

基于One API与New API的基础上进行二次开发
https://api.ai365vip.com/
Other
382 stars 92 forks source link

请求支持讯飞星火lite模型 #43

Open luomo-pro opened 4 months ago

luomo-pro commented 4 months ago

例行检查

问题描述 刚才讯飞星火宣布,lite模型永久开放使用了。 这lite看了下,网址里的模型版本是v1.1,现在添加渠道的时候,版本填写 v1.1,调用是会报错: Panic detected, error: runtime error: invalid memory address or nil pointer dereference. Please submit an issue with the related log here: https://github.com/ai365vip/chat-api

怀疑是没有适配v1.1的模型版本,要吧请求时候的domain参数要设置成general。 具体可以参考讯飞官方的文档: https://www.xfyun.cn/doc/spark/Web.html 复现步骤 正常调用 预期结果 正常返回