Zeqi Lin 82f6f0da6a fix: correct telemetry test assertion for Responses API output (#3733)
The test was asserting messagesJson[0].content[0].text but rawMessageToCAPI
converts single text content parts to a plain string, so content is a string
not an array. Updated assertion to check messagesJson[0].content directly.

Also added telemetry emission (sendEngineMessagesTelemetry) to
processResponseFromChatEndpoint so engine.messages events are sent for
Responses API completions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-17 19:22:46 +00:00
S
Description
Languages
TypeScript 76.2%
jsonc 19.4%
CSS 1.3%
JavaScript 0.7%
C 0.7%
Other 1.4%