🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.
TypeScript analyticsautogenevaluationlangchainlarge-language-modelsllama-indexllmllm-evaluationllm-observabilityllmopsmonitoringobservabilityopen-sourceopenaiplaygroundprompt-engineeringprompt-managementself-hostedycombinator
fix: fix trace exports (#4958)
Max Deichmann23a4bbd2cbd3
diff --git a/worker/src/features/batchExport/handleBatchExportJob.ts b/worker/src/features/batchExport/handleBatchExportJob.tsindex 66c86c801e..e055a1ac56 100644--- a/worker/src/features/batchExport/handleBatchExportJob.ts+++ b/worker/src/features/batchExport/handleBatchExportJob.ts@@ -409,7 +409,15 @@ export const getDatabaseReadStream = async ({completionTokens: metric?.completionTokens,totalTokens: metric?.totalTokens,},+ inputCost: metric?.calculatedInputCost,+ outputCost: metric?.calculatedOutputCost,+ totalCost: metric?.calculatedTotalCost,+ level: metric?.level,+ observationCount: Number(metric?.observationCount),scores: outputScores,+ inputTokens: metric?.promptTokens,+ outputTokens: metric?.completionTokens,+ totalTokens: metric?.totalTokens,};});} else {