]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
server: ignore reasoning content from transcription api (#21905)
authorXuan-Son Nguyen <redacted>
Wed, 22 Apr 2026 10:10:50 +0000 (12:10 +0200)
committerGitHub <redacted>
Wed, 22 Apr 2026 10:10:50 +0000 (12:10 +0200)
tools/server/server-task.cpp

index ac1e77615dac49d1aed66e253851e47784010d82..9380792c06d059c084e0f38a665e9369e621d547 100644 (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 event = json {
         {"type",  "transcript.text.done"},
-        {"text",  content},
+        {"text",  oaicompat_msg.content},
         {"usage", json {
             {"type",         "tokens"},
             {"input_tokens",  n_prompt_tokens},