mirror of
https://github.com/LostRuins/koboldcpp.git
synced 2026-05-12 05:52:26 +00:00
server: Enable transcriptions API for LFM2-Audio (#22000)
This commit is contained in:
parent
8635e221c8
commit
550d684bd1
5 changed files with 43 additions and 14 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue