chatbox
chatbox copied to clipboard
[BUG]自定义OpenAI兼容模式,回复内容为空白
Bug 描述
[自定义OpenAI ]兼容模式 ,回复内容为空。
但POST请求测试正常
重现步骤 请提供能够让我们重现这个 bug 的步骤:
测试地址不需要认证
post https://open.apisql.cn/api/mytest/groq/openai/v1/chat/completions
Content-Type: application/json
{"messages":[{"role":"system","content":"\nCurrent model: gemma2-9b-it\nCurrent date: 2024-07-10T09:39:02.433Z\n\nYou are a helpful assistant. You can help me by answering my questions. You can also ask me questions."},{"role":"user","content":"你好啊"}],"model":"gemma2-9b-it","temperature":0.7,"top_p":0.9,"stream":true}
期望结果
请帮助看看是那里有问题,谢谢!
Bug 描述 [自定义OpenAI ]兼容模式 ,回复内容为空。
但POST请求测试正常
重现步骤 请提供能够让我们重现这个 bug 的步骤:
测试地址不需要认证
post https://open.apisql.cn/api/mytest/groq/openai/v1/chat/completions Content-Type: application/json {"messages":[{"role":"system","content":"\nCurrent model: gemma2-9b-it\nCurrent date: 2024-07-10T09:39:02.433Z\n\nYou are a helpful assistant. You can help me by answering my questions. You can also ask me questions."},{"role":"user","content":"你好啊"}],"model":"gemma2-9b-it","temperature":0.7,"top_p":0.9,"stream":true}期望结果
请帮助看看是那里有问题,谢谢!
大佬解决了吗
我也遇到了这个问题,我在自己服务器部署后,curl测试正常,但是放到chatbox上就显示...了


