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

Method close

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

Source from the content-addressed store, hash-verified

13334 self.metrics.sequence_cache_save_requests_total += 1
13335
13336 def close(self) -> None:
13337 self.closed = True
13338 self.model.close()
13339
13340 def submit_request(self, request: CompletionRequest) -> str:
13341 if self.closed:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected