(request: Request, exc: ValueError)
| 229 | |
| 230 | @app.exception_handler(ValueError) |
| 231 | async def value_error_handler(request: Request, exc: ValueError): |
| 232 | return JSONResponse(status_code=400, content={"detail": str(exc)}) |
| 233 | |
| 234 | @app.exception_handler(LettaAgentNotFoundError) |
| 235 | async def agent_not_found_handler(request: Request, exc: LettaAgentNotFoundError): |
nothing calls this directly
no outgoing calls
no test coverage detected