(self, original_user_request: str, step_num: int = 0)
| 8 | |
| 9 | class GPT4v(Model): |
| 10 | def get_instructions_for_objective(self, original_user_request: str, step_num: int = 0) -> dict[str, Any]: |
| 11 | message: list[dict[str, Any]] = self.format_user_request_for_llm(original_user_request, step_num) |
| 12 | llm_response = self.send_message_to_llm(message) |
| 13 | json_instructions: dict[str, Any] = self.convert_llm_response_to_json_instructions(llm_response) |
| 14 | return json_instructions |
| 15 | |
| 16 | def format_user_request_for_llm(self, original_user_request, step_num) -> list[dict[str, Any]]: |
| 17 | base64_img: str = Screen().get_screenshot_in_base64() |
nothing calls this directly
no test coverage detected