MCPcopy Create free account
hub / github.com/dataease/SQLBot / pop_chunk

Method pop_chunk

backend/apps/chat/task/llm.py:1141–1146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1139 raise SQLBotDBError(err)
1140
1141 def pop_chunk(self):
1142 try:
1143 chunk = self.chunk_list.pop(0)
1144 return chunk
1145 except IndexError as e:
1146 return None
1147
1148 def await_result(self):
1149 while self.is_running():

Callers 1

await_resultMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected