Platform for stateful agents: AI with advanced memory that can learn and self-improve over time.
filter out noisy sentry (#3191)
Kian Jonesad67ed761d51
diff --git a/letta/server/rest_api/app.py b/letta/server/rest_api/app.pyindex a3ff36d7c..203a5d6c3 100644--- a/letta/server/rest_api/app.py+++ b/letta/server/rest_api/app.py@@ -163,7 +163,8 @@ async def lifespan(app_: FastAPI):# TODO: Make this more robustdef filter_out_sentry_errors(event, hint):if (- "Fiel processing Failed" in str(event.get("exception"))+ "File processing failed" in str(event.get("exception"))+ or "Default chunking also failed for" in str(event.get("exception"))or "Failed to embed batch of size 32" in str(event.get("exception"))or "`inputs` must have less than 512 tokens" in str(event.get("exception"))):