🪢 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: improve error message on worker (#1881)
Max Deichmann4a323b001129
diff --git a/worker/src/eval-service.ts b/worker/src/eval-service.tsindex a312d78a0d..22aed87018 100644--- a/worker/src/eval-service.ts+++ b/worker/src/eval-service.ts@@ -429,10 +429,10 @@ export async function extractVariablesFromTrace(// user facing errorsif (!observation) {logger.error(- `Observation ${mapping.objectName} for trace ${traceId} not found. Eval will succeed without trace input. Please ensure the mapped data on the trace exists and consider extending the job delay.`+ `Observation ${mapping.objectName} for trace ${traceId} not found. Eval will succeed without observation input. Please ensure the mapped data exists and consider extending the job delay.`);throw new LangfuseNotFoundError(- `Observation ${mapping.objectName} for trace ${traceId} not found. Eval will succeed without trace input. Please ensure the mapped data on the trace exists and consider extending the job delay.`+ `Observation ${mapping.objectName} for trace ${traceId} not found. Eval will succeed without observation input. Please ensure the mapped data exists and consider extending the job delay.`);}