MCPcopy Index your code
hub / github.com/dataease/SQLBot / run_task_cache

Method run_task_cache

backend/apps/chat/task/llm.py:1168–1171  ·  view source on GitHub ↗
(self, in_chat: bool = True, stream: bool = True,
                       finish_step: ChatFinishStep = ChatFinishStep.GENERATE_CHART, return_img: bool = True)

Source from the content-addressed store, hash-verified

1166 self.future = executor.submit(self.run_task_cache, in_chat, stream, finish_step, return_img)
1167
1168 def run_task_cache(self, in_chat: bool = True, stream: bool = True,
1169 finish_step: ChatFinishStep = ChatFinishStep.GENERATE_CHART, return_img: bool = True):
1170 for chunk in self.run_task(in_chat, stream, finish_step, return_img):
1171 self.chunk_list.append(chunk)
1172
1173 def run_task(self, in_chat: bool = True, stream: bool = True,
1174 finish_step: ChatFinishStep = ChatFinishStep.GENERATE_CHART, return_img: bool = True):

Callers

nothing calls this directly

Calls 2

run_taskMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected