Python#

council.skills.python.build_code_generation_loop(code_generation: PythonCodeGenerationSkill, verification: PythonCodeVerificationSkill | None = None, execution: PythonCodeExecutionSkill | None = None, max_iteration: int = 10) RunnerBase[source]#

Helper function to build a python code generation loop, running the code generation skill until it successfully pass the verification and execution.

Parameters:
Return type:

RunnerBase