From e1b7336d5d4acad5075d5d91da869ec1b7e38d4a Mon Sep 17 00:00:00 2001 From: Saint2999 Date: Fri, 8 Aug 2025 07:46:02 +0300 Subject: [PATCH] Hide online model on local ai policy --- .config/quickshell/ii/services/Ai.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/quickshell/ii/services/Ai.qml b/.config/quickshell/ii/services/Ai.qml index f265d953c..c07cf3390 100644 --- a/.config/quickshell/ii/services/Ai.qml +++ b/.config/quickshell/ii/services/Ai.qml @@ -247,7 +247,7 @@ Singleton { // - key_get_description: Description of pricing and how to get an API key // - api_format: The API format of the model. Can be "openai" or "gemini". Default is "openai". // - extraParams: Extra parameters to be passed to the model. This is a JSON object. - property var models: { + property var models: Config.options.policies.ai === 2 ? {} : { "gemini-2.0-flash": aiModelComponent.createObject(this, { "name": "Gemini 2.0 Flash", "icon": "google-gemini-symbolic",