server: ignore reasoning content from transcription api (#21905)
This commit is contained in:
1 parent
7bfe60fdf9
commit
17f6245168
1 file changed
+1
-1
@@ -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},
|
||||
|
||||
Reference in new issue
Block a user