File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -136,16 +136,17 @@ async def get_provider_endpoint_handler(
136136 - provider_id: Provider identification string
137137 - auth: Authentication tuple from the auth dependency.
138138
139+ ### Raises:
140+ - HTTPException: with status 401 for unauthorized access.
141+ - HTTPException: with status 403 if permission is denied.
142+ - HTTPException: with status 404 if provider is not found.
143+ - HTTPException: with status 500 and a detail object containing `response`
144+ and `cause` when service configuration is wrong or incomplete.
145+ - HTTPException: with status 503 and a detail object containing `response`
146+ and `cause` when unable to connect to Llama Stack.
147+
139148 ### Returns:
140149 - ProviderResponse: Provider details.
141-
142- ### Raises:
143- - HTTPException:
144- - 401: Authentication failed
145- - 403: Authorization failed
146- - 404: Provider not found
147- - 500: Lightspeed Stack configuration not loaded
148- - 503: Unable to connect to Llama Stack
149150 """
150151 # Used only by the middleware
151152 _ = auth
You can’t perform that action at this time.
0 commit comments