-
Notifications
You must be signed in to change notification settings - Fork 455
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
panic: runtime error: index out of range [0] with length 0 大佬帮看看咋回事,谢谢 #50
Comments
您提供的错误信息是由Go语言的运行时系统打印的,描述了程序执行中发生的一个panic。Panic是Go中的一个术语,指在程序运行时遇到了无法处理的错误条件,通常导致程序崩溃。 |
配置redis |
Status Code |
超时了,问个简单问题,或者换个其他的gpt代理站 |
panic: runtime error: index out of range [0] with length 0
goroutine 13 [running]:
github.com/pwh-pwh/aiwechat-vercel/chat.(*SimpleGptChat).chat(0xc000152c40, {0xc00013c2c0, 0x1c}, {0xc0001394f0, 0x9})
/vercel/path0/chat/gpt.go:61 +0x6ae
github.com/pwh-pwh/aiwechat-vercel/chat.WithTimeChat.func1()
/vercel/path0/chat/chat.go:177 +0x34
created by github.com/pwh-pwh/aiwechat-vercel/chat.WithTimeChat in goroutine 1
/vercel/path0/chat/chat.go:176 +0x271
Error: Runtime exited with error: exit status 2
The text was updated successfully, but these errors were encountered: