MCPcopy Index your code
hub / github.com/abetlen/llama-cpp-python / on_error

Method on_error

examples/server/server.py:15586–15589  ·  view source on GitHub ↗
(exc: BaseException)

Source from the content-addressed store, hash-verified

15584 mailbox.put(sentinel)
15585
15586 def on_error(exc: BaseException) -> None:
15587 error_box["error"] = exc
15588 done.set()
15589 mailbox.put(sentinel)
15590
15591 request.on_stream_chunk = on_stream_chunk
15592 request.on_done = on_done

Callers 1

fail_requestMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected