server: add --media-path for local media files (#17697)

* server: add --media-path for local media files

* remove unused fn
This commit is contained in:
Xuan-Son Nguyen 2025-12-02 22:49:20 +01:00 committed by GitHub
parent a96283adc4
commit 13628d8bdb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 133 additions and 38 deletions

View file

@ -788,6 +788,7 @@ struct server_context_impl {
/* allow_image */ mctx ? mtmd_support_vision(mctx) : false,
/* allow_audio */ mctx ? mtmd_support_audio (mctx) : false,
/* enable_thinking */ enable_thinking,
/* media_path */ params_base.media_path,
};
// print sample chat example to make it clear which template is used