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

Method update

models/12B_4bit/generation_utils.py:46–48  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

44 return x
45
46 def update(self, message):
47 self.input_history.pop()
48 self.append(message)
49
50 def __len__(self):
51 return self.input_history.__len__()

Callers 7

get_vocabMethod · 0.45
chatMethod · 0.45
_transfer_from_listMethod · 0.45
appendMethod · 0.45
append_leftMethod · 0.45
on_finalized_textMethod · 0.45

Calls 2

appendMethod · 0.95
popMethod · 0.45

Tested by

no test coverage detected