Skip to content

Commit f04e860

Browse files
committed
Docstrings for info.py
1 parent 4a62476 commit f04e860

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/app/endpoints/info.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,12 @@ async def info_endpoint_handler(
4444
Process GET requests to the /info endpoint, returning the
4545
service name, version and Llama-stack version.
4646
47+
Raises:
48+
HTTPException: with status 500 and a detail object
49+
containing `response` and `cause` when unable to connect to
50+
Llama Stack. It can also return status 401 or 403 for
51+
unauthorized access.
52+
4753
Returns:
4854
InfoResponse: An object containing the service's name and version.
4955
"""

0 commit comments

Comments
 (0)