feat: add default route support for wanx image&video synthesis (#2431)

This commit is contained in:
mirror
2025-06-17 13:43:26 +08:00
committed by GitHub
parent 0b9256617e
commit c471bb2003
6 changed files with 8 additions and 6 deletions

View File

@@ -43,7 +43,8 @@ struct ModelMapperConfigRule {
std::string default_model_mapping_;
std::vector<std::string> enable_on_path_suffix_ = {
"/completions", "/embeddings", "/images/generations",
"/audio/speech", "/fine_tuning/jobs", "/moderations"};
"/audio/speech", "/fine_tuning/jobs", "/moderations",
"/image-synthesis", "/video-synthesis"};
};
// PluginRootContext is the root context for all streams processed by the