mirror of
https://github.com/Kilo-Org/kilocode.git
synced 2026-09-19 10:02:04 +08:00
Change LLM Completion telemetry properties to be consistent with old extension
This commit is contained in:
@@ -135,9 +135,9 @@ export namespace Telemetry {
|
||||
|
||||
// LLM
|
||||
export function trackLlmCompletion(properties: {
|
||||
sessionId?: string
|
||||
provider: string
|
||||
model: string
|
||||
taskId?: string
|
||||
apiProvider: string
|
||||
modelId: string
|
||||
inputTokens?: number
|
||||
outputTokens?: number
|
||||
cacheReadTokens?: number
|
||||
|
||||
@@ -250,9 +250,9 @@ export namespace SessionProcessor {
|
||||
usage.tokens.cache.read > 0
|
||||
) {
|
||||
Telemetry.trackLlmCompletion({
|
||||
sessionId: input.sessionID,
|
||||
provider: input.model.providerID,
|
||||
model: input.model.id,
|
||||
taskId: input.sessionID,
|
||||
apiProvider: input.model.providerID,
|
||||
modelId: input.model.id,
|
||||
inputTokens: usage.tokens.input,
|
||||
outputTokens: usage.tokens.output,
|
||||
cacheReadTokens: usage.tokens.cache.read,
|
||||
|
||||
Reference in New Issue
Block a user