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

@ -284,6 +284,7 @@ struct oaicompat_parser_options {
bool allow_image;
bool allow_audio;
bool enable_thinking = true;
std::string media_path;
};
// used by /chat/completions endpoint