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

Method accept

examples/server/server.py:1186–1187  ·  view source on GitHub ↗
(self, seq_id: int, accepted_draft_tokens: int)

Source from the content-addressed store, hash-verified

1184 pass
1185
1186 def accept(self, seq_id: int, accepted_draft_tokens: int) -> None:
1187 pass
1188
1189 def truncate(self, seq_id: int, keep_len: int) -> None:
1190 pass

Callers 2

accept_draft_tokensMethod · 0.45
responses_websocketFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected