ad endpoint docs

This commit is contained in:
Xuan Son Nguyen
2025-11-22 18:01:48 +01:00
parent f2ca54b202
commit d32bbfec82
2 changed files with 90 additions and 7 deletions

View File

@@ -5189,9 +5189,10 @@ public:
auto all_models = models->get_all_meta();
for (const auto & model : all_models) {
models_json.push_back(json {
{"model", model.name},
{"name", model.name},
{"id", model.name},
{"name", model.name},
{"id", model.name},
{"in_cache", model.in_cache},
{"path", model.path},
// TODO: other fields...
{"status", {
{"value", server_model_status_to_string(model.status)}