Open by123456by opened 6 months ago
+1
+1
讯飞星火大模型一直报websocket:bad handshake,无法通过测试。更换模型型号仍然不行,已知有人填写v3.5的版本号后正常使用。 怀疑是wss协议不能正常连接。原因不明。
讯飞星火大模型一直报websocket:bad handshake,无法通过测试。更换模型型号仍然不行,已知有人填写v3.5的版本号后正常使用。 怀疑是wss协议不能正常连接。原因不明。
你这应该是新问题,建议开新issues
+1
3.5测试正常,填写1.1返回:{ "error": { "message": "Panic detected, error: runtime error: invalid memory address or nil pointer dereference. Please submit an issue with the related log here: https://github.com/songquanpeng/one-api", "type": "one_api_panic" } }
我也有同样的问题,one-api 是 docker latest 版本,使用 v1.1 版本,测试连接时报错:
2024/05/29 14:41:22 [Recovery] 2024/05/29 - 14:41:22 panic recovered:
runtime error: invalid memory address or nil pointer dereference
/usr/local/go/src/runtime/panic.go:261 (0x4555d7)
/usr/local/go/src/runtime/signal_unix.go:881 (0x4555a5)
/build/relay/adaptor/openai/util.go:7 (0xd74daf)
/build/relay/adaptor/xunfei/main.go:206 (0xd74eac)
/build/relay/adaptor/xunfei/adaptor.go:75 (0xd728ca)
/build/controller/channel-test.go:108 (0xd8884f)
/build/controller/channel-test.go:143 (0xd88de4)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xc8e52e)
/build/middleware/auth.go:70 (0xc8e1e3)
/build/middleware/auth.go:81 (0xdac917)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0xda54d5)
/go/pkg/mod/github.com/gin-contrib/gzip@v1.0.0/handler.go:60 (0xda54bd)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x95834a)
/go/pkg/mod/github.com/gin-contrib/sessions@v1.0.0/sessions.go:54 (0xdaf068)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x96411c)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/logger.go:240 (0x964103)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x95834a)
/build/middleware/request-id.go:16 (0xdaf445)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x964fd9)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/recovery.go:102 (0x964fc7)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/context.go:174 (0x96360d)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:620 (0x96329c)
/go/pkg/mod/github.com/gin-gonic/gin@v1.9.1/gin.go:576 (0x962dd1)
/usr/local/go/src/net/http/server.go:3137 (0x70090d)
/usr/local/go/src/net/http/server.go:2039 (0x6fbcc7)
/usr/local/go/src/runtime/asm_amd64.s:1695 (0x472d00)
使用 v3.5 正常,但是 v3.5 有额度限制,所以还是希望支持下 v1.1
+1
原来是还不支持 Spark Lite,难怪我测试不行 😥
+1,v0.6.6下调不通
例行检查
功能描述 增加对Spark Lite模型的支持,目前模型版本填入v1.1会报错,我确定这是bug还是支持的模型 应用场景