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

Method close

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

Source from the content-addressed store, hash-verified

10380 return token
10381
10382 def close(self) -> None:
10383 if not self._closed:
10384 llama_cpp.llama_sampler_free(self._sampler)
10385 self._closed = True
10386
10387
10388@dataclass

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected