]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server: Expose `media_tag` on /props endpoint. (#22028)
authorCetarthoriphros <redacted>
Sat, 18 Apr 2026 22:27:17 +0000 (19:27 -0300)
committerGitHub <redacted>
Sat, 18 Apr 2026 22:27:17 +0000 (00:27 +0200)
tools/server/README.md
tools/server/server-context.cpp

index b30309bf3b06da961e0857f73f98f62b5f13e9a5..84a29cba0b67910f47cec210cf94c78023c7af24 100644 (file)
@@ -806,6 +806,7 @@ By default, it is read-only. To make POST request to change global properties, y
   "modalities": {
     "vision": false
   },
+  "media_marker": "<__media_YoNhud46VdDqbuFmKYEO9PY7A4ARzRfg__>",
   "build_info": "b(build number)-(build commit hash)",
   "is_sleeping": false
 }
index 4b899ecf0078f601f4fed85436d6abb63f17eb3b..2488f81b8a62ddd340a60c0aa0956095cb355f47 100644 (file)
@@ -3537,6 +3537,7 @@ void server_routes::init_routes() {
                 {"vision", meta->has_inp_image},
                 {"audio",  meta->has_inp_audio},
             } },
+            { "media_marker",                get_media_marker() },
             { "endpoint_slots",              params.endpoint_slots },
             { "endpoint_props",              params.endpoint_props },
             { "endpoint_metrics",            params.endpoint_metrics },