Skip to content

Send a phone call from AI agent, in an API call. Or, directly call the bot from the configured phone number!

Python

fix: Health check readiness format

Clémence Lesnée0f1fbe779c8
diff --git a/app/main.py b/app/main.py
index 5332366..fb920c4 100644
--- a/app/main.py
+++ b/app/main.py
@@ -226,7 +226,7 @@ async def health_readiness_get() -> JSONResponse:
status_code = HTTPStatus.SERVICE_UNAVAILABLE
break
return JSONResponse(
- content=readiness.model_dump_json(),
+ content=readiness.model_dump(mode="json"),
status_code=status_code,
)