recordSessionTurnSafe
recordSessionTurnSafe(
config,record):RecordedTurn|null
Defined in: packages/core/src/history/recordSession.ts:47
GS2-106 — recordSessionSafe, returning what was written: the turn’s row id plus the
conversation it was recorded under and that conversation’s run id. null when history is off or
anything went wrong. Same guarantees: fully guarded, never throws.
Parameters
Section titled “Parameters”config
Section titled “config”record
Section titled “record”Returns
Section titled “Returns”RecordedTurn | null