chatbox icon indicating copy to clipboard operation
chatbox copied to clipboard

[BUG]自定义OpenAI兼容模式,回复内容为空白

Open llf007 opened this issue 1 year ago • 1 comments

Bug 描述 [自定义OpenAI ]兼容模式 ,回复内容为空。 image

但POST请求测试正常 image

重现步骤 请提供能够让我们重现这个 bug 的步骤:

image

测试地址不需要认证

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}

期望结果

请帮助看看是那里有问题,谢谢!

llf007 avatar Jul 10 '24 10:07 llf007

Bug 描述 [自定义OpenAI ]兼容模式 ,回复内容为空。 image

但POST请求测试正常 image

重现步骤 请提供能够让我们重现这个 bug 的步骤:

image

测试地址不需要认证

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}

期望结果

请帮助看看是那里有问题,谢谢!

大佬解决了吗

Heibaizhu avatar Nov 26 '24 15:11 Heibaizhu

我也遇到了这个问题,我在自己服务器部署后,curl测试正常,但是放到chatbox上就显示...了

dengwhao avatar Mar 21 '25 09:03 dengwhao