(
self, task: dict[str, Any], context: dict[str, Any]
)
| 70 | return SubAgentType.PYTHON_EXECUTOR |
| 71 | |
| 72 | async def _execute_internal( |
| 73 | self, task: dict[str, Any], context: dict[str, Any] |
| 74 | ) -> dict[str, Any]: |
| 75 | code = task.get("code", "") |
| 76 | return { |
| 77 | "stdout": f"Executed: {code}", |
| 78 | "stderr": "", |
| 79 | "exit_code": 0, |
| 80 | } |
| 81 | |
| 82 | def get_capabilities(self) -> dict[str, Any]: |
| 83 | return {"can_execute_python": True, "timeout": 30} |