Feature: Hide online models on local ai policy (#1784)

This commit is contained in:
end-4
2025-09-06 10:20:08 +02:00
committed by GitHub
+1 -1
View File
@@ -255,7 +255,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",