🪢 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): avoid logging model name as model param (#6737)
Jannik Maierhöferaf863bcbd9c8
diff --git a/web/src/features/otel/server/index.ts b/web/src/features/otel/server/index.tsindex 65f02dd0bf..f3b3de6926 100644--- a/web/src/features/otel/server/index.ts+++ b/web/src/features/otel/server/index.ts@@ -364,7 +364,10 @@ const extractModelParameters = ();return modelParameters.reduce((acc: any, key) => {const modelParamKey = key.replace("gen_ai.request.", "");- acc[modelParamKey] = attributes[key];+ // avoid double-reporting the model name, already included in native model attribute+ if (modelParamKey !== "model") {+ acc[modelParamKey] = attributes[key];+ }return acc;}, {});};