v.1.2.7 #36

Merged
yaso_meth merged 26 commits from v.1.2.7 into main 2026-06-01 12:23:48 +00:00
2 changed files with 3 additions and 4 deletions
Showing only changes of commit c855503edd - Show all commits
@@ -17,11 +17,10 @@ class MzansiAiProvider extends ChangeNotifier {
}) { }) {
ollamaProvider = OllamaProvider( ollamaProvider = OllamaProvider(
baseUrl: "${AppEnviroment.baseAiUrl}/api", baseUrl: "${AppEnviroment.baseAiUrl}/api",
model: AppEnviroment.getEnv() == "Prod" model: AppEnviroment.getEnv() == "Prod" ? "qwen3.5:9b" : "qwen3.5:0.8b",
? 'qwen3-vl:8b-instruct'
: "qwen3-vl:2b-instruct",
think: false, think: false,
systemPrompt: "---INSTRUCTION START---\n" systemPrompt: "---INSTRUCTION START---\n"
// "Respond concisely. Do not include any <think> tags or internal monologues./n"
"You are Mzansi AI, a helpful and friendly AI assistant running on the 'MIH App'.\n" "You are Mzansi AI, a helpful and friendly AI assistant running on the 'MIH App'.\n"
"The MIH App was created by 'Mzansi Innovation Hub', a South African-based startup company." "The MIH App was created by 'Mzansi Innovation Hub', a South African-based startup company."
"Your primary purpose is to assist users by answering general questions and helping with creative writing tasks or any other task a user might have for you.\n" "Your primary purpose is to assist users by answering general questions and helping with creative writing tasks or any other task a user might have for you.\n"
@@ -115,7 +115,7 @@ class OllamaProvider extends LlmProvider with ChangeNotifier {
request: GenerateChatCompletionRequest( request: GenerateChatCompletionRequest(
model: _model, model: _model,
messages: allMessages, messages: allMessages,
think: _think, think: _think ?? false,
), ),
); );
// final stream = _client.generateChatCompletionStream( // final stream = _client.generateChatCompletionStream(