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

Method __next__

models/7B/generation_utils.py:154–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected