Update MZansi AI prod Model
This commit is contained in:
@@ -301,26 +301,26 @@ class _MihAiChatState extends State<MihAiChat> with WidgetsBindingObserver {
|
|||||||
"What are the features of MIH?"
|
"What are the features of MIH?"
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
Positioned(
|
// Positioned(
|
||||||
top: 10,
|
// top: 10,
|
||||||
left: 10,
|
// left: 10,
|
||||||
child: MihButton(
|
// child: MihButton(
|
||||||
width: 200,
|
// width: 200,
|
||||||
height: 30,
|
// height: 30,
|
||||||
onPressed: () {
|
// onPressed: () {
|
||||||
saveHistory(profileProvider, aiProvider);
|
// saveHistory(profileProvider, aiProvider);
|
||||||
},
|
// },
|
||||||
buttonColor: MihColors.getGreenColor(
|
// buttonColor: MihColors.getGreenColor(
|
||||||
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
// MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
||||||
child: Text(
|
// child: Text(
|
||||||
"View History as json",
|
// "View History as json",
|
||||||
style: TextStyle(
|
// style: TextStyle(
|
||||||
color: MihColors.getPrimaryColor(
|
// color: MihColors.getPrimaryColor(
|
||||||
MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
// MzansiInnovationHub.of(context)!.theme.mode == "Dark"),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
),
|
// ),
|
||||||
if (hasHistory && lastMessage != null)
|
if (hasHistory && lastMessage != null)
|
||||||
Positioned(
|
Positioned(
|
||||||
bottom: 80,
|
bottom: 80,
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ class MzansiAiProvider extends ChangeNotifier {
|
|||||||
ollamaProvider = OllamaProvider(
|
ollamaProvider = OllamaProvider(
|
||||||
baseUrl: "${AppEnviroment.baseAiUrl}/api",
|
baseUrl: "${AppEnviroment.baseAiUrl}/api",
|
||||||
model: AppEnviroment.getEnv() == "Prod"
|
model: AppEnviroment.getEnv() == "Prod"
|
||||||
? 'gemma3n:e4b'
|
? 'qwen3-vl:8b'
|
||||||
: "qwen3-vl:2b-instruct",
|
: "qwen3-vl:2b-instruct",
|
||||||
think: false,
|
think: false,
|
||||||
systemPrompt: "---INSTRUCTION START---\n"
|
systemPrompt: "---INSTRUCTION START---\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user