File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44
55[project ]
66name = " sentienceapi"
7- version = " 0.91.0 "
7+ version = " 0.91.1 "
88description = " Python SDK for Sentience AI Agent Browser Automation"
99readme = " README.md"
1010requires-python = " >=3.11"
Original file line number Diff line number Diff line change 7070)
7171from .wait import wait_for
7272
73- __version__ = "0.91.0 "
73+ __version__ = "0.91.1 "
7474
7575__all__ = [
7676 # Core SDK
Original file line number Diff line number Diff line change @@ -230,7 +230,10 @@ def _generate_index(self) -> None:
230230 try :
231231 from .trace_indexing import write_trace_index
232232
233- write_trace_index (str (self .path ))
233+ # Use frontend format to ensure 'step' field is present (1-based)
234+ # Frontend derives sequence from step.step - 1, so step must be valid
235+ index_path = Path (self .path ).with_suffix (".index.json" )
236+ write_trace_index (str (self .path ), str (index_path ), frontend_format = True )
234237 except Exception as e :
235238 # Non-fatal: log but don't crash
236239 print (f"⚠️ Failed to generate trace index: { e } " )
You can’t perform that action at this time.
0 commit comments