MCPcopy
hub / github.com/AstrBotDevs/AstrBot / _run

Function _run

astrbot/dashboard/api/conversations.py:56–61  ·  view source on GitHub ↗
(operation)

Source from the content-addressed store, hash-verified

54
55
56async def _run(operation):
57 try:
58 result = await run_maybe_async(operation)
59 return ok(result)
60 except ConversationServiceError as exc:
61 _raise_conversation_error(exc)
62
63
64def _export_response(export: ConversationExport) -> StreamingResponse:

Calls 3

run_maybe_asyncFunction · 0.90
okFunction · 0.90

Tested by

no test coverage detected