feat(telemetry): include language in telemetry and fix accepted lines computation (#21126)

This commit is contained in:
Christian Gunderman
2026-03-04 18:58:39 +00:00
committed by GitHub
parent 54885214a1
commit 49e4082f38
5 changed files with 155 additions and 41 deletions
+3 -3
View File
@@ -116,7 +116,7 @@ describe('CodeAssistServer', () => {
role: 'model',
parts: [
{ text: 'response' },
{ functionCall: { name: 'test', args: {} } },
{ functionCall: { name: 'replace', args: {} } },
],
},
finishReason: FinishReason.SAFETY,
@@ -160,7 +160,7 @@ describe('CodeAssistServer', () => {
role: 'model',
parts: [
{ text: 'response' },
{ functionCall: { name: 'test', args: {} } },
{ functionCall: { name: 'replace', args: {} } },
],
},
finishReason: FinishReason.STOP,
@@ -233,7 +233,7 @@ describe('CodeAssistServer', () => {
content: {
parts: [
{ text: 'chunk' },
{ functionCall: { name: 'test', args: {} } },
{ functionCall: { name: 'replace', args: {} } },
],
},
},