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

Method close

examples/server/server.py:10622–10625  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

10620 self.media_marker = media_marker.decode("utf-8")
10621
10622 def close(self) -> None:
10623 if self.ctx is not None:
10624 mtmd_cpp.mtmd_free(self.ctx)
10625 self.ctx = None
10626
10627 def _max_bytes_for_media(self, kind: Literal["image", "audio", "video"]) -> int:
10628 if kind == "image":

Callers

nothing calls this directly

Calls 1

mtmd_freeMethod · 0.45

Tested by

no test coverage detected