MCPcopy
hub / github.com/Tele-AI/Telechat / pop

Method pop

models/12B_4bit/generation_utils.py:38–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

36 self.input_history.appendleft(message)
37
38 def pop(self):
39 x = self.input_history.pop()
40 return x
41
42 def pop_left(self):
43 x = self.pop_left()

Callers 3

build_inputs_for_chatMethod · 0.45
updateMethod · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected