MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / send_error

Function send_error

examples/server/server.py:16213–16221  ·  view source on GitHub ↗
(message: str)

Source from the content-addressed store, hash-verified

16211 )
16212
16213 async def send_error(message: str) -> None:
16214 await websocket.send_json(
16215 {
16216 "type": "error",
16217 "error": {
16218 "message": message,
16219 },
16220 }
16221 )
16222
16223 try:
16224 while True:

Callers 1

responses_websocketFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…