FakeResponder typedef

FakeResponder = FutureOr<String> Function(String prompt, List<String> transcript)

Computes the model's reply from the latest user text and the transcript (User: ... / Assistant: ... lines, oldest first).

Implementation

typedef FakeResponder =
    FutureOr<String> Function(String prompt, List<String> transcript);