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 f1ccb35 commit 3e2aca9Copy full SHA for 3e2aca9
1 file changed
src/app/endpoints/config.py
@@ -51,6 +51,14 @@ async def config_endpoint_handler(
51
- request: The incoming HTTP request.
52
- auth: Authentication tuple from the auth dependency.
53
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
+
62
### Returns:
63
- ConfigurationResponse: The loaded service configuration response.
64
"""
0 commit comments