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

Method run_task_async

backend/apps/chat/task/llm.py:1162–1166  ·  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

1160 yield chunk
1161
1162 def run_task_async(self, in_chat: bool = True, stream: bool = True,
1163 finish_step: ChatFinishStep = ChatFinishStep.GENERATE_CHART, return_img: bool = True):
1164 if in_chat:
1165 stream = True
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):

Callers 1

stream_sqlFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected