fix: improve cross-device evidence, request diagnostics and prompt efficiency

This commit is contained in:
chenmingxuan committed 2026-10-17 14:55:45 +08:00
1 parent 621f30e437
commit a66803651a
60 files changed
+3097 -160

No files matched your search

+3 -1
View File
@@ -1314,10 +1314,12 @@ class DataEngine:
def get_step_image_path(self, step_number: int, which: str = "pre") -> Path | None:
"""Read-only path of a step's pre/post screenshot, if recorded."""
from artemis.data_engine.step_evidence import step_image_name
step = self.get_step_record(step_number)
if step is None:
return None
image_name = step.pre_image_name if which == "pre" else step.post_image_name
image_name = step_image_name(step, which)
if not image_name:
return None
path = self.get_image_path(image_name)