Open WeiZhI0v0 opened 5 months ago
我调用的三方Api
先在终端测试一下第三方api能不能正常使用吧,感觉是你api的问题
curl https://your-url/v1/chat/completions ^
-H "Content-Type: application/json" ^
-H "Authorization: Bearer sk-your-key" ^
-d "{ \"model\": \"gpt-3.5-turbo\", \"messages\": [ { \"role\": \"user\", \"content\": \"Hello!\" } ] }"
Search for answers in existing issues
Feature description
content=bot 写一个冒泡排序代码, type=1, is_group=False, create_time=2024-03-02 22:03:28, is_at=False) [INFO][2024-03-02 22:03:29][chatgpt.py:26] - [ChatGPTBot] Query=写一个冒泡排序代码 [WARNING][2024-03-02 22:03:31][chatgpt.py:84] - [ChatGPTBot] APIError: HTTP code 200 from API (<!doctype html>
Motivation
No response