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: Preserve API schema

Clémence Lesné4170ec1c6550
diff --git a/function_app.py b/function_app.py
index ef2c891..da340ba 100644
--- a/function_app.py
+++ b/function_app.py
@@ -184,7 +184,7 @@ async def health_readiness_get(req: func.HttpRequest) -> func.HttpResponse:
status_code = HTTPStatus.SERVICE_UNAVAILABLE
break
return func.HttpResponse(
- body=readiness.model_dump_json(exclude_none=True),
+ body=readiness.model_dump_json(),
mimetype="application/json",
status_code=status_code,
)