← Về thư mục
openai4s/agent/cell_record.py
- DelegatedCellRecorder · class · L26-L148 — class DelegatedCellRecorder
- init · method · L39-L59 — def init( self, store: Any, frame_id: str, *, generation_id_for: Callable[[str], str | None] | None = None, log: Callable[[str], None] | None = None, origin: str = "delegate", ) -> None: #
origin defaults to the delegated-child stamp this recorder was # built for; a root CLI Agent reuses the same recorder with # origin="agent" (the log_cell default the Web path records), so # an explicit code-mode run's test_evidence can name real rows.
- bind_generation_source · method · L61-L65 — def bind_generation_source( self, generation_id_for: Callable[[str], str | None] ) -> None
- before · method · L68-L69 — def before(self, _action: object) -> None
- after · method · L71-L79 — def after(self, action: object, _token: object, result: object) -> None
- _record · method · L82-L119 — def _record(self, action: object, result: object) -> None
- _next_ordinal_locked · method · L121-L134 — def _next_ordinal_locked(self) -> int
- _project_locked · method · L136-L148 — def _project_locked(self) -> str
- ComposedCellHooks · class · L151-L229 — class ComposedCellHooks
- init · method · L161-L162 — def init(self, *hooks: Any) -> None
- _tokens · method · L164-L167 — def _tokens(self, token: object) -> List[Any]
- before · method · L169-L174 — def before(self, action: object) -> List[Any]
- after · method · L176-L177 — def after(self, action: object, token: object, result: object) -> None
- before_native · method · L179-L184 — def before_native(self, action: object) -> List[Any]
- after_native · method · L186-L187 — def after_native(self, call: object, token: object, result: object) -> None
- after_native_with_receipts · method · L189-L209 — def after_native_with_receipts( self, call: object, token: object, result: object, receipts: List[Any], ) -> None
- _fan_out · method · L211-L229 — def _fan_out( self, method: str, head: tuple, token: object, tail: tuple, ) -> None
- compose_cell_hooks · function · L232-L243 — def compose_cell_hooks(*hooks: Any) -> Any | None