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

Method __init__

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

Source from the content-addressed store, hash-verified

1037 position_increment: int = 1
1038
1039 def __init__(self) -> None:
1040 self._root = SequenceHistory.Node()
1041 self._tails: Dict[int, SequenceHistory.Node] = {}
1042 self._position_lengths: Dict[int, int] = {}
1043 self.size = 0
1044
1045 def extend(
1046 self,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected