Skip to content

Commit 82166b4

Browse files
committed
Fixed typos
1 parent 7a639e2 commit 82166b4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/app/endpoints/feedback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
"""Handler for REST API call to provide info."""
1+
"""Handler for REST API endpoint for user feedback."""
22

33
import logging
44
from typing import Annotated, Any

src/app/endpoints/info.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
router = APIRouter(tags=["info"])
1414

1515

16-
get_into_responses: dict[int | str, dict[str, Any]] = {
16+
get_info_responses: dict[int | str, dict[str, Any]] = {
1717
200: {
1818
"name": "Service name",
1919
"version": "Service version",
2020
},
2121
}
2222

2323

24-
@router.get("/info", responses=get_into_responses)
24+
@router.get("/info", responses=get_info_responses)
2525
def info_endpoint_handler(_request: Request) -> InfoResponse:
2626
"""Handle request to the /info endpoint."""
2727
return InfoResponse(name=configuration.configuration.name, version=__version__)

src/app/endpoints/query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
query_response: dict[int | str, dict[str, Any]] = {
3838
200: {
3939
"conversation_id": "123e4567-e89b-12d3-a456-426614174000",
40-
"response": "LLM ansert",
40+
"response": "LLM answer",
4141
},
4242
400: {
4343
"description": "Missing or invalid credentials provided by client",

0 commit comments

Comments
 (0)