We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c126200 commit 9dc3dc7Copy full SHA for 9dc3dc7
tools/server/server.cpp
@@ -4334,7 +4334,7 @@ int main(int argc, char ** argv) {
4334
4335
const auto handle_completions = [&ctx_server, &handle_completions_impl](const httplib::Request & req, httplib::Response & res) {
4336
json data = json::parse(req.body);
4337
- json & medias = json_value(data, "medias", json::array());
+ json & medias = json_value(&data, "medias", json::array());
4338
auto & opt = ctx_server.oai_parser_opt;
4339
std::vector<raw_buffer> files;
4340
0 commit comments