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:
parent
a96283adc4
commit
13628d8bdb
9 changed files with 133 additions and 38 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue