testing library
Test support for code that runs an LlmProvider: llmFakeRun, the run of a fake provider built from the text it answers, so every fake gives the shape the contract promises.
A test double, kept beside the contract it stands in for. Nothing a product links imports this library.
Functions
-
llmFakeRun(
LlmRequest request, Stream< String> text, {String transportId = 'fake'}) → Stream<LlmEvent> -
The run of
requestwhose answer istext, from transporttransportId.