Skip to content

createTestRuntime

createTestRuntime(config?): AdlRuntime

Defined in: packages/core/src/runtime/create-test.ts:13

Runtime with in-memory stores for unit tests. Pass defaults.model (or a mock LanguageModel) when the test creates agents.

Run version tagging is off unless the caller asks for it: resolving it shells out to jj or git, so leaving it on would make a unit test’s recorded tags depend on the ambient state of whatever repository it happens to run inside. Pass version explicitly to exercise tagging.

AdlRuntimeConfig = {}

AdlRuntime