This commit is contained in:
Aleksandr Dubchak 2026-04-23 00:04:11 +03:00
parent 2b5d923f63
commit 98d5e90894
754 changed files with 1175740 additions and 142424 deletions

23
stuff/StepTrace.py Normal file
View file

@ -0,0 +1,23 @@
from dataclasses import dataclass
from typing import Optional
@dataclass
class StepTrace:
step_no: int
timestamp: float
thought: Optional[str]
action_type: str
action_target: Optional[str]
action_value: Optional[str]
url_before: Optional[str]
url_after: Optional[str]
screenshot_before: Optional[str]
screenshot_after: Optional[str]
success: bool
error: Optional[str] = None