MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / _open_api_error

Function _open_api_error

astrbot/dashboard/api/open_api.py:59–60  ·  view source on GitHub ↗
(message: str)

Source from the content-addressed store, hash-verified

57
58
59def _open_api_error(message: str) -> JSONResponse:
60 return JSONResponse(error(message))
61
62
63def _get_chat_config_list(service: OpenApiService) -> list[dict]:

Callers 3

_open_api_chat_responseFunction · 0.85
get_open_api_fileFunction · 0.85

Calls 1

errorFunction · 0.90

Tested by

no test coverage detected