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

This commit is contained in:
Tarek Dakhran
2026-04-23 10:47:26 +02:00
committed by GitHub
parent 8635e221c8
commit 550d684bd1
5 changed files with 43 additions and 14 deletions
+1
View File
@@ -18,6 +18,7 @@ json server_chat_convert_anthropic_to_oai(const json & body);
// convert OpenAI transcriptions API format to OpenAI Chat Completions API format
json convert_transcriptions_to_chatcmpl(
const json & body,
const common_chat_templates * tmpls,
const std::map<std::string, raw_buffer> & in_files,
std::vector<raw_buffer> & out_files);