invoke method
Invokes the Runnable on the given input
.
Implementation
@override
Future<LLMResult> invoke(
final PromptValue input, {
final LLMOptions? options,
}) {
return Future<LLMResult>.value(
LLMResult(
id: 'fake-echo',
output: input.toString(),
finishReason: FinishReason.stop,
metadata: const {},
usage: const LanguageModelUsage(),
),
);
}