Closed vimyang closed 1 week ago
未设置Authorization
相关header
的情况
curl --location 'http://127.0.0.1:5005/v1/chat/completions' \
--header 'Content-Type: application/json' \
--data '{
"model": "gpt-3.5-turbo",
"messages": [{"role": "user", "content": "Say this is a test!"}],
"stream": true
}'
{"detail":"Unusual activity has been detected from your device. Try again later. (89d3df1c2e623c1d-NRT)"}%
预期是希望在其他终端使用chatgpt的api,例如在BotGem上使用api
免登对于ip的要求很高,建议随便丢个账号进去
http://127.0.0.1:5005
可以正常访问Authorization: Bearer
,我尝试如下方式都不可访问 2.1 设置未空 2.2 设置未其他非空字符串 2.3 删除Authorization
的header