Update MZansi AI prod Model

This commit is contained in:
2026-02-03 13:26:37 +02:00
parent 535924691e
commit 5172017a54
2 changed files with 21 additions and 21 deletions

View File

@@ -301,26 +301,26 @@ class _MihAiChatState extends State<MihAiChat> with WidgetsBindingObserver {
"What are the features of MIH?"
],
),
Positioned(
top: 10,
left: 10,
child: MihButton(
width: 200,
height: 30,
onPressed: () {
saveHistory(profileProvider, aiProvider);
},
buttonColor: MihColors.getGreenColor(
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
child: Text(
"View History as json",
style: TextStyle(
color: MihColors.getPrimaryColor(
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
),
),
),
),
// Positioned(
// top: 10,
// left: 10,
// child: MihButton(
// width: 200,
// height: 30,
// onPressed: () {
// saveHistory(profileProvider, aiProvider);
// },
// buttonColor: MihColors.getGreenColor(
// MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
// child: Text(
// "View History as json",
// style: TextStyle(
// color: MihColors.getPrimaryColor(
// MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
// ),
// ),
// ),
// ),
if (hasHistory && lastMessage != null)
Positioned(
bottom: 80,

View File

@@ -20,7 +20,7 @@ class MzansiAiProvider extends ChangeNotifier {
ollamaProvider = OllamaProvider(
baseUrl: "${AppEnviroment.baseAiUrl}/api",
model: AppEnviroment.getEnv() == "Prod"
? 'gemma3n:e4b'
? 'qwen3-vl:8b'
: "qwen3-vl:2b-instruct",
think: false,
systemPrompt: "---INSTRUCTION START---\n"