We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffe6b73 commit 0548b18Copy full SHA for 0548b18
src/server/util/azure/ResponsesAPI.ts
@@ -246,7 +246,7 @@ export class ResponsesClient {
246
return {
247
tokenCount,
248
timeToFirstToken,
249
- tokensPerSecond: timeToFirstToken ? tokenCount / tokenStreamingDuration : undefined,
+ tokensPerSecond: timeToFirstToken ? (tokenCount / tokenStreamingDuration) * 1000 : undefined,
250
response: contents.join(''),
251
}
252
0 commit comments