QOL: Mzansi AI Chat Look and Feel & Startup question pt3

This commit is contained in:
2025-11-07 15:03:36 +02:00
parent 8e6ef25954
commit a3c1963d30
3 changed files with 3 additions and 2 deletions

View File

@@ -51,6 +51,7 @@ class OllamaProvider extends LlmProvider with ChangeNotifier {
final stream = _generateStream(messages); final stream = _generateStream(messages);
yield* stream.map((chunk) { yield* stream.map((chunk) {
llmMessage.append(chunk); llmMessage.append(chunk);
notifyListeners();
return chunk; return chunk;
}); });
KenLogger.success("Stream completed for: $prompt"); KenLogger.success("Stream completed for: $prompt");

View File

@@ -227,7 +227,7 @@ class _MihAiChatState extends State<MihAiChat> {
// "Mzansi AI is here to help. Send us a messahe and we'll try our best to assist you.", // "Mzansi AI is here to help. Send us a messahe and we'll try our best to assist you.",
autofocus: false, autofocus: false,
enableAttachments: false, enableAttachments: false,
enableVoiceNotes: true, enableVoiceNotes: false,
style: mzansiAiProvider.getChatStyle(context), style: mzansiAiProvider.getChatStyle(context),
// suggestions: [ // suggestions: [
// "What is mih all about?", // "What is mih all about?",

View File

@@ -1,7 +1,7 @@
name: mzansi_innovation_hub name: mzansi_innovation_hub
description: "" description: ""
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.2.2+103 version: 1.2.3+105
# version: 1.1.1+97 #--- Updated version for upgrader package testing # version: 1.1.1+97 #--- Updated version for upgrader package testing
environment: environment: