File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -67,15 +67,16 @@ async def providers_endpoint_handler(
6767 - request: The incoming HTTP request.
6868 - auth: Authentication tuple from the auth dependency.
6969
70+ ### Raises:
71+ - HTTPException: with status 401 for unauthorized access.
72+ - HTTPException: with status 403 if permission is denied.
73+ - HTTPException: with status 500 and a detail object containing `response`
74+ and `cause` when service configuration is wrong or incomplete.
75+ - HTTPException: with status 503 and a detail object containing `response`
76+ and `cause` when unable to connect to Llama Stack.
77+
7078 ### Returns:
7179 - ProvidersListResponse: Mapping from API type to list of providers.
72-
73- ### Raises:
74- - HTTPException:
75- - 401: Authentication failed
76- - 403: Authorization failed
77- - 500: Lightspeed Stack configuration not loaded
78- - 503: Unable to connect to Llama Stack
7980 """
8081 # Used only by the middleware
8182 _ = auth
You can’t perform that action at this time.
0 commit comments