forked from Shinonome/dots-hyprland
Feature: Hide online models on local ai policy (#1784)
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user