Upload 10 files
Browse filesFiles changed (2)
- CodeWriterFlow.py+10-2
- README.md+9
5 unmodified lines678910111213145 unmodified linesclass CodeWriterFlow(ContentWriterFlow):"""This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)"""def _on_reach_max_round(self):self._state_update_dict({5 unmodified lines6789101112131415161718192021225 unmodified linesclass CodeWriterFlow(ContentWriterFlow):"""This flow inherits from ContentWriterFlow, it is used to write code in an interactive way.In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)*Input Interface*:- `goal`*Output Interface*:- `code`- `result`- `summary`- `status`"""def _on_reach_max_round(self):self._state_update_dict({
81 unmodified lines82838485868781 unmodified linesThis flow inherits from ContentWriterFlow, it is used to write code in an interactive way.In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)<a id="__init__"></a># \_\_init\_\_81 unmodified lines82838485868788899091929394959681 unmodified linesThis flow inherits from ContentWriterFlow, it is used to write code in an interactive way.In the subflow of the executor, we specify an InteractiveCodeGenFlow (https://huggingface.co/Tachi67/InteractiveCodeGenFlowModule)*Input Interface*:- `goal`*Output Interface*:- `code`- `result`- `summary`- `status`<a id="__init__"></a># \_\_init\_\_
CodeWriterFlow.py+10-2
README.md+9