We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f13abb3 commit 8c0aeb1Copy full SHA for 8c0aeb1
1 file changed
src/app/endpoints/health.py
@@ -185,6 +185,14 @@ async def liveness_probe_get_method(
185
### Parameters:
186
- auth: Authentication tuple from the auth dependency (used by middleware).
187
188
+ ### Raises:
189
+ - HTTPException: with status 401 for unauthorized access.
190
+ - HTTPException: with status 403 if permission is denied.
191
+ - HTTPException: with status 500 and a detail object containing `response`
192
+ and `cause` when service configuration is wrong or incomplete.
193
+ - HTTPException: with status 503 and a detail object containing `response`
194
+ and `cause` when unable to connect to Llama Stack.
195
+
196
### Returns:
197
- LivenessResponse: Indicates that the service is alive.
198
"""
0 commit comments