🪢 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: change error messages (#10774)
Max Deichmann56503546d58c
diff --git a/packages/shared/src/server/repositories/clickhouse.ts b/packages/shared/src/server/repositories/clickhouse.tsindex f61cce83b6..1107458a8b 100644--- a/packages/shared/src/server/repositories/clickhouse.ts+++ b/packages/shared/src/server/repositories/clickhouse.ts@@ -42,8 +42,7 @@ type ErrorType = keyof typeof ERROR_TYPE_CONFIG;export class ClickHouseResourceError extends Error {static ERROR_ADVICE_MESSAGE = [- "Database resource limit exceeded.",- "Please use more specific filters or a shorter time range.",+ "We got notified about this issue and are looking into it.","We are continuously improving our API performance.",].join(" ");diff --git a/web/src/utils/trpcErrorToast.tsx b/web/src/utils/trpcErrorToast.tsxindex 3a2ceed34b..cdb7fd4704 100644--- a/web/src/utils/trpcErrorToast.tsx+++ b/web/src/utils/trpcErrorToast.tsx@@ -22,7 +22,7 @@ const errorTitleMap = {TOO_MANY_REQUESTS: "Too Many Requests",CLIENT_CLOSED_REQUEST: "Client Closed Request",INTERNAL_SERVER_ERROR: "Internal Server Error",- SERVICE_UNAVAILABLE: "Backend Service Overloaded",+ SERVICE_UNAVAILABLE: "Internal Server Error",} as const;const getErrorTitleAndHttpCode = (error: TRPCClientError<any>) => {