(self, in_chat: bool = True, stream: bool = True,
finish_step: ChatFinishStep = ChatFinishStep.GENERATE_CHART, return_img: bool = True)
| 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): |