forked from xiaozhi/xiaozhi-esp32
v1.7.7: 支持 EC801E 模组,增加 xmini-c3-v3, xmini-c3-4g (#930)
This commit is contained in:
@@ -209,7 +209,8 @@ std::string Esp32Camera::Explain(const std::string& question) {
|
||||
}, jpeg_queue);
|
||||
});
|
||||
|
||||
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