🪢 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
chore: reduce error logs for llm 429 errors (#6836)
Max Deichmann44d1727dd0e8
diff --git a/worker/src/features/utilities.ts b/worker/src/features/utilities.tsindex 97af379fd5..258460e971 100644--- a/worker/src/features/utilities.ts+++ b/worker/src/features/utilities.ts@@ -46,7 +46,7 @@ export async function callStructuredLLM<T extends ZodSchema>() {throw new ApiError(e.name, 429);}- logger.error(`Job ${jeId} failed to call LLM. Eval will fail.`, e);+throw new ApiError(`Failed to call LLM: ${e}`,(e as any)?.response?.status ?? (e as any)?.status,