server : update readme + return json for "meta" field

This commit is contained in:
Georgi Gerganov
2025-05-14 15:30:12 +03:00
parent 6190e1c1c9
commit 237acc7cd5
2 changed files with 2 additions and 2 deletions

View File

@ -4368,7 +4368,7 @@ int main(int argc, char ** argv) {
const auto handle_models = [&params, &ctx_server, &state, &res_ok](const httplib::Request &, httplib::Response & res) {
server_state current_state = state.load();
std::string model_meta;
json model_meta = nullptr;
if (current_state == SERVER_STATE_READY) {
model_meta = ctx_server.model_meta();
}