FakeHandlerLLM constructor
FakeHandlerLLM({
- required String handler(
- String prompt,
- LLMOptions? options,
- int callCount
Fake LLM for testing. It returns the string returned by the handler function.
Implementation
FakeHandlerLLM({required this.handler})
: super(defaultOptions: const FakeLLMOptions());