Skip to content

Commit 3e2aca9

Browse files
committed
Updated description for /config endpoint
1 parent f1ccb35 commit 3e2aca9

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/app/endpoints/config.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ async def config_endpoint_handler(
5151
- request: The incoming HTTP request.
5252
- auth: Authentication tuple from the auth dependency.
5353
54+
### Raises:
55+
- HTTPException: with status 401 for unauthorized access.
56+
- HTTPException: with status 403 if permission is denied.
57+
- HTTPException: with status 500 and a detail object containing `response`
58+
and `cause` when service configuration is wrong or incomplete.
59+
- HTTPException: with status 503 and a detail object containing `response`
60+
and `cause` when unable to connect to Llama Stack.
61+
5462
### Returns:
5563
- ConfigurationResponse: The loaded service configuration response.
5664
"""

0 commit comments

Comments
 (0)