Skip to content

Commit 17f6245

Browse files
authored
server: ignore reasoning content from transcription api (ggml-org#21905)
1 parent 7bfe60f commit 17f6245

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/server/server-task.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1111,7 +1111,7 @@ json server_task_result_cmpl_final::to_json_oaicompat_resp_stream() {
11111111
json server_task_result_cmpl_final::to_json_oaicompat_asr() {
11121112
json event = json {
11131113
{"type", "transcript.text.done"},
1114-
{"text", content},
1114+
{"text", oaicompat_msg.content},
11151115
{"usage", json {
11161116
{"type", "tokens"},
11171117
{"input_tokens", n_prompt_tokens},

0 commit comments

Comments
 (0)