server: ignore reasoning content from transcription api (#21905)

This commit is contained in:
Xuan-Son Nguyen
2026-04-22 12:10:50 +02:00
committed by GitHub
parent 7bfe60fdf9
commit 17f6245168
+1 -1
View File
@@ -1111,7 +1111,7 @@ json server_task_result_cmpl_final::to_json_oaicompat_resp_stream() {
json server_task_result_cmpl_final::to_json_oaicompat_asr() { json server_task_result_cmpl_final::to_json_oaicompat_asr() {
json event = json { json event = json {
{"type", "transcript.text.done"}, {"type", "transcript.text.done"},
{"text", content}, {"text", oaicompat_msg.content},
{"usage", json { {"usage", json {
{"type", "tokens"}, {"type", "tokens"},
{"input_tokens", n_prompt_tokens}, {"input_tokens", n_prompt_tokens},