From 47f9e6e695844c98596f1c994e4c0bbce8c82751 Mon Sep 17 00:00:00 2001 From: BharathBala21 Date: Tue, 14 Apr 2026 21:15:01 +0530 Subject: [PATCH] change gemini default ai model as 2.0 flash is no longer available --- config/Config.qml | 2 +- config/defaults/ai.js | 2 +- modules/services/Ai.qml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/Config.qml b/config/Config.qml index 1d7cc321..1d1bcf11 100644 --- a/config/Config.qml +++ b/config/Config.qml @@ -1178,7 +1178,7 @@ Singleton { property string systemPrompt: "You are a helpful assistant running on a Linux system. You have access to some tools to control the system." property string tool: "none" property list extraModels: [] - property string defaultModel: "gemini-2.0-flash" + property string defaultModel: "gemini-2.5-flash-lite" property int sidebarWidth: 400 property string sidebarPosition: "right" property bool sidebarPinnedOnStartup: false diff --git a/config/defaults/ai.js b/config/defaults/ai.js index dd750c91..0de40a12 100644 --- a/config/defaults/ai.js +++ b/config/defaults/ai.js @@ -2,7 +2,7 @@ var data = { "systemPrompt": "You are a helpful assistant running on a Linux system. You have access to some tools to control the system.", "tool": "none", "extraModels": [], - "defaultModel": "gemini-2.0-flash", + "defaultModel": "gemini-2.5-flash-lite", "sidebarWidth": 400, "sidebarPosition": "right", "sidebarPinnedOnStartup": false diff --git a/modules/services/Ai.qml b/modules/services/Ai.qml index 5e540dc2..d9c3696a 100644 --- a/modules/services/Ai.qml +++ b/modules/services/Ai.qml @@ -32,7 +32,7 @@ Singleton { } function restoreModel() { - const lastModelId = StateService.get("lastAiModel", "gemini-2.0-flash"); + const lastModelId = StateService.get("lastAiModel", "gemini-2.5-flash-lite"); savedModelId = lastModelId; tryRestore(); persistenceReady = true;