Hide online model on local ai policy

This commit is contained in:
Saint2999
2025-08-08 07:46:02 +03:00
parent d3a9d2ea5b
commit e1b7336d5d
+1 -1
View File
@@ -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",