server: Enable transcriptions API for LFM2-Audio (#22000)

This commit is contained in:
Tarek Dakhran authored and GitHub committed 2026-04-23 10:47:26 +02:00
1 parent 8635e221c8
commit 550d684bd1
5 files changed
+43 -14

No files matched your search

+1
View File
@@ -3807,6 +3807,7 @@ void server_routes::init_routes() {
std::vector<raw_buffer> files;
json body = convert_transcriptions_to_chatcmpl(
json::parse(req.body),
meta->chat_params.tmpls.get(),
req.files,
files);
SRV_DBG("%s\n", "Request converted: OpenAI Transcriptions -> OpenAI Chat Completions");