maid_llm
maid_llm copied to clipboard
Crash occurs on Android device
Exception screenshot:
Since I didn't find LlamaIsolated, I am using the Llama object. The modelPath comes from the FilePicker Flutter package
final llama = Llama(LlamaController(modelPath: modelPath), ));
final messages = [
LlamaMessage.withRole(role: 'user', content: 'Hello'),
];
final stream = llama.prompt(messages);
stream.listen((event) {
print(event);
});