Expand description
Runtime construction helpers for strategy tests.
make_runtime constructs a fully-configured AgentRuntime
with sensible defaults, reducing test setup to a single function call.
§Example
use traitclaw_test_utils::provider::MockProvider;
use traitclaw_test_utils::runtime::make_runtime;
let rt = make_runtime(MockProvider::text("ok"), vec![]);
// rt is ready for strategy.execute(&rt, "input", "session-1")Functions§
- make_
runtime - Create a minimal
AgentRuntimewith the given provider and tools. - make_
runtime_ with_ config - Create a minimal
AgentRuntimewith customAgentConfig.