Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

gpt response with empty content #57

Open
Ashye opened this issue Apr 24, 2024 · 2 comments
Open

gpt response with empty content #57

Ashye opened this issue Apr 24, 2024 · 2 comments

Comments

@Ashye
Copy link

Ashye commented Apr 24, 2024

curl http://127.0.0.1:3040/v1/chat/completions -H "Content-Type: application/json" -H "Authorization: Bearer any_string_you_like" -d '{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"stream": true
}'

get a empty response with:
data: {"id":"chatcmpl-**********","created":1713965171742,"object":"chat.completion.chunk","model":"gpt-3.5-turbo","choices":[{"delta":{"content":""},"index":0,"finish_reason":"stop"}]}

@rootwhois
Copy link

rootwhois commented Apr 24, 2024

I met the same problem, it seems that https://chat.openai.com/backend-anon/sentinel/chat-requirements is not working...

@missuo
Copy link
Owner

missuo commented Apr 26, 2024

try to use my new repo: https://github.com/missuo/FreeDuckDuckGo

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

No branches or pull requests

3 participants