🪢 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(otel): parse tool call name for ai sdk (#10009)
Hassieb Pakzad6d25ea5c3ca4
diff --git a/packages/shared/src/server/otel/OtelIngestionProcessor.ts b/packages/shared/src/server/otel/OtelIngestionProcessor.tsindex 07296fedbf..ee08ae8f60 100644--- a/packages/shared/src/server/otel/OtelIngestionProcessor.ts+++ b/packages/shared/src/server/otel/OtelIngestionProcessor.ts@@ -1468,6 +1468,10 @@ export class OtelIngestionProcessor {}// Vercel AI SDK+ if ("ai.toolCall.name" in attributes) {+ return attributes["ai.toolCall.name"] as string;+ }+const functionIdAttribute = "ai.telemetry.functionId";const operationIdAttribute = "ai.operationId";