|
本帖最后由 美国总统奥巴马 于 2024-4-4 10:01 编辑
- {"status":false,"error":{"message":"The requested endpoint was not found. please make sure to use "http://localhost:3040/v1" as the base URL.","type":"invalid_request_error"}}
复制代码- curl http://172.17.0.2: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": "你好啊!"
- > }
- > ],
- > "stream": true
- > }'
- {"status":false,"error":{"message":"An error happened, please make sure your request is SFW, or use a jailbreak to bypass the filter.","type":"invalid_request_error"}}
复制代码
这咋整啊 |
|