(attachment_store, task: BatchTask)
| 236 | |
| 237 | @staticmethod |
| 238 | def _build_task_input(attachment_store, task: BatchTask): |
| 239 | if task.attachment_paths: |
| 240 | builder = TaskInputBuilder(attachment_store) |
| 241 | return builder.build_from_file_paths(task.task_prompt, task.attachment_paths) |
| 242 | return task.task_prompt |
| 243 | |
| 244 | @staticmethod |
| 245 | def _sanitize_label(value: str) -> str: |
no test coverage detected