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

Method __next__

models/12B_8bit/generation_utils.py:157–162  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 return self
156
157 def __next__(self):
158 value_now, history_until = self.text_queue.get(timeout=self.timeout)
159 if value_now == self.stop_signal:
160 raise StopIteration()
161 else:
162 return value_now, history_until

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected