Skip to content

Commit 9e5647a

Browse files
server: Expose media_tag on /props endpoint. (ggml-org#22028)
1 parent 4f02d47 commit 9e5647a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

tools/server/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -806,6 +806,7 @@ By default, it is read-only. To make POST request to change global properties, y
806806
"modalities": {
807807
"vision": false
808808
},
809+
"media_marker": "<__media_YoNhud46VdDqbuFmKYEO9PY7A4ARzRfg__>",
809810
"build_info": "b(build number)-(build commit hash)",
810811
"is_sleeping": false
811812
}

tools/server/server-context.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3537,6 +3537,7 @@ void server_routes::init_routes() {
35373537
{"vision", meta->has_inp_image},
35383538
{"audio", meta->has_inp_audio},
35393539
} },
3540+
{ "media_marker", get_media_marker() },
35403541
{ "endpoint_slots", params.endpoint_slots },
35413542
{ "endpoint_props", params.endpoint_props },
35423543
{ "endpoint_metrics", params.endpoint_metrics },

0 commit comments

Comments
 (0)