MCPcopy Create free account
hub / github.com/Tele-AI/Telechat / __len__

Method __len__

models/7B_4bit/generation_utils.py:47–48  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

45 self.append({"role": x["role"], "content": content})
46
47 def __len__(self):
48 return self.input_history.__len__()
49
50 def __str__(self):
51 return self.input_history.__str__()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected