Skip to main content

import_run

Function
This function is defined in the portable module.
Write an exported run into journal and return its run id. Refuses to import over an existing run unless overwrite=True: silently merging two runs’ events would produce a replay index that belongs to neither, and the failure would surface much later as a confusing resume.

Signature

Parameters

RunJournal
required
No description available.
Dict[str, Any]
required
No description available.

Returns

str
The result of the operation.

Uses

  • PortableRunError
  • journal.run_meta
  • JournalEvent
  • journal.delete_run
  • journal.open_run
  • journal.close_run

Used By

Source

View on GitHub

praisonaiagents/runtime/portable.py at line 85