(
self,
conversation: str,
code_markdown: str,
commands: list,
error: str,
system_os: dict,
project_name: str
)
| 111 | |
| 112 | @retry_wrapper |
| 113 | def execute( |
| 114 | self, |
| 115 | conversation: str, |
| 116 | code_markdown: str, |
| 117 | commands: list, |
| 118 | error: str, |
| 119 | system_os: dict, |
| 120 | project_name: str |
| 121 | ) -> str: |
| 122 | prompt = self.render( |
| 123 | conversation, |
| 124 | code_markdown, |
| 125 | commands, |
| 126 | error, |
| 127 | system_os |
| 128 | ) |
| 129 | response = self.llm.inference(prompt, project_name) |
| 130 | |
| 131 | valid_response = self.validate_response(response) |
| 132 | |
| 133 | if not valid_response: |
| 134 | return False |
| 135 | |
| 136 | self.emulate_code_writing(valid_response, project_name) |
| 137 | |
| 138 | return valid_response |
nothing calls this directly
no test coverage detected