Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

星火模型报错 #192

Closed
1 task done
kenputon1 opened this issue Apr 29, 2024 · 4 comments
Closed
1 task done

星火模型报错 #192

kenputon1 opened this issue Apr 29, 2024 · 4 comments

Comments

@kenputon1
Copy link

⚠️ 确认 issue 是否已存在 ⚠️

  • 我已经搜索了现有的问题,没有找到跟我问题相关的问题。

GPT-3 or GPT-4

GPT-3.5

操作系统

Linux

Bug 描述 📝

ERROR chatimpl/chat_handler.go:184 Recover message from error: runtime error: invalid memory address or nil pointer dereference,通义没问题,星火的无论什么版本都报错,只有这一句,apikey确定没问题,顺序也是对的

重现步骤 🕹

配置星火模型api,使用,无响应,日志报错

你的应用配置信息

把你的配置信息粘贴到这里
@yangjian102621
Copy link
Owner

你的 API 地址是不是自己手填的?

@yinmao
Copy link

yinmao commented May 3, 2024

同样的问题,API URL保持wss://spark-api.xf-yun.com/{version}/chat不变或修改为wss://spark-api.xf-yun.com/v3.5/chat都报错:
2024-05-03T13:41:52.193+0800 INFO chatimpl/chat_handler.go:162 Receive a message: hi 2024-05-03T13:41:52.379+0800 ERROR chatimpl/chat_handler.go:184 Recover message from error: runtime error: invalid memory address or nil pointer dereference 2024-05-03T13:41:52.379+0800 INFO chatimpl/chat_handler.go:173 回答完毕: hi

@thisisdun998
Copy link

我有出现同样的问题,请问现在有解决吗? @yinmao

@yangjian102621
Copy link
Owner

更新到4.0.4 可以解决

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants