forked from xiaozhi/xiaozhi-esp32
v1.7.7: 支持 EC801E 模组,增加 xmini-c3-v3, xmini-c3-4g (#930)
This commit is contained in:
@@ -278,7 +278,8 @@ std::string SscmaCamera::Explain(const std::string& question) {
|
||||
return "{\"success\": false, \"message\": \"Image explain URL or token is not set\"}";
|
||||
}
|
||||
|
||||
auto http = Board::GetInstance().CreateHttp();
|
||||
auto network = Board::GetInstance().GetNetwork();
|
||||
auto http = std::unique_ptr<Http>(network->CreateHttp(3));
|
||||
// 构造multipart/form-data请求体
|
||||
std::string boundary = "----ESP32_CAMERA_BOUNDARY";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user