Skip to contents

Create a deterministic fake chat model

Usage

fake_chat(script = list())

Arguments

script

A list of assistant_message() and assistant_tool_call() records.

Value

A fake chat object for tests and examples.