diff --git a/core/core.ts b/core/core.ts index f5453ea6d3..a1d74f2818 100644 --- a/core/core.ts +++ b/core/core.ts @@ -410,6 +410,16 @@ export class Core { if (config.experimental?.readResponseTTS && "completion" in next.value) { void TTS.read(next.value?.completion); } + + void Telemetry.capture( + "chat", + { + model: model.model, + provider: model.providerName, + }, + true, + ); + return { done: true, content: next.value }; }