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

Method append

models/7B/generation_utils.py:25–28  ·  view source on GitHub ↗
(self, message)

Source from the content-addressed store, hash-verified

23 self.input_history.append(message)
24
25 def append(self, message):
26 content = message.get("content")
27 message.update(self.tokenizer(content))
28 self.input_history.append(message)
29
30 def append_left(self, message):
31 content = message.get("content")

Callers 15

chatMethod · 0.95
updateMethod · 0.95
from_quantizedMethod · 0.45
recover_loraFunction · 0.45
get_weight_dataFunction · 0.45
processFunction · 0.45
get_datasetFunction · 0.45
process_data.pyFile · 0.45
main.pyFile · 0.45
mainFunction · 0.45

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected