feat(cli): hide gemma settings from display and mark as experimental (#21471)

This commit is contained in:
Abhi
2026-03-06 17:34:59 -05:00
committed by GitHub
parent 931e668b47
commit 32e61529f5
5 changed files with 10 additions and 11 deletions
-1
View File
@@ -147,7 +147,6 @@ they appear in the UI.
| Plan | `experimental.plan` | Enable planning features (Plan Mode and tools). | `false` | | Plan | `experimental.plan` | Enable planning features (Plan Mode and tools). | `false` |
| Model Steering | `experimental.modelSteering` | Enable model steering (user hints) to guide the model during tool execution. | `false` | | Model Steering | `experimental.modelSteering` | Enable model steering (user hints) to guide the model during tool execution. | `false` |
| Direct Web Fetch | `experimental.directWebFetch` | Enable web fetch behavior that bypasses LLM summarization. | `false` | | Direct Web Fetch | `experimental.directWebFetch` | Enable web fetch behavior that bypasses LLM summarization. | `false` |
| Enable Gemma Model Router | `experimental.gemmaModelRouter.enabled` | Enable the Gemma Model Router. Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim. | `false` |
### Skills ### Skills
+2 -2
View File
@@ -1041,8 +1041,8 @@ their corresponding top-level category object in your `settings.json` file.
- **Requires restart:** Yes - **Requires restart:** Yes
- **`experimental.gemmaModelRouter.enabled`** (boolean): - **`experimental.gemmaModelRouter.enabled`** (boolean):
- **Description:** Enable the Gemma Model Router. Requires a local endpoint - **Description:** Enable the Gemma Model Router (experimental). Requires a
serving Gemma via the Gemini API using LiteRT-LM shim. local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.
- **Default:** `false` - **Default:** `false`
- **Requires restart:** Yes - **Requires restart:** Yes
@@ -461,7 +461,7 @@ describe('SettingsSchema', () => {
expect(gemmaModelRouter.category).toBe('Experimental'); expect(gemmaModelRouter.category).toBe('Experimental');
expect(gemmaModelRouter.default).toEqual({}); expect(gemmaModelRouter.default).toEqual({});
expect(gemmaModelRouter.requiresRestart).toBe(true); expect(gemmaModelRouter.requiresRestart).toBe(true);
expect(gemmaModelRouter.showInDialog).toBe(true); expect(gemmaModelRouter.showInDialog).toBe(false);
expect(gemmaModelRouter.description).toBe( expect(gemmaModelRouter.description).toBe(
'Enable Gemma model router (experimental).', 'Enable Gemma model router (experimental).',
); );
@@ -472,9 +472,9 @@ describe('SettingsSchema', () => {
expect(enabled.category).toBe('Experimental'); expect(enabled.category).toBe('Experimental');
expect(enabled.default).toBe(false); expect(enabled.default).toBe(false);
expect(enabled.requiresRestart).toBe(true); expect(enabled.requiresRestart).toBe(true);
expect(enabled.showInDialog).toBe(true); expect(enabled.showInDialog).toBe(false);
expect(enabled.description).toBe( expect(enabled.description).toBe(
'Enable the Gemma Model Router. Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.', 'Enable the Gemma Model Router (experimental). Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.',
); );
const classifier = gemmaModelRouter.properties.classifier; const classifier = gemmaModelRouter.properties.classifier;
+3 -3
View File
@@ -1863,7 +1863,7 @@ const SETTINGS_SCHEMA = {
requiresRestart: true, requiresRestart: true,
default: {}, default: {},
description: 'Enable Gemma model router (experimental).', description: 'Enable Gemma model router (experimental).',
showInDialog: true, showInDialog: false,
properties: { properties: {
enabled: { enabled: {
type: 'boolean', type: 'boolean',
@@ -1872,8 +1872,8 @@ const SETTINGS_SCHEMA = {
requiresRestart: true, requiresRestart: true,
default: false, default: false,
description: description:
'Enable the Gemma Model Router. Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.', 'Enable the Gemma Model Router (experimental). Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.',
showInDialog: true, showInDialog: false,
}, },
classifier: { classifier: {
type: 'object', type: 'object',
+2 -2
View File
@@ -1747,8 +1747,8 @@
"properties": { "properties": {
"enabled": { "enabled": {
"title": "Enable Gemma Model Router", "title": "Enable Gemma Model Router",
"description": "Enable the Gemma Model Router. Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.", "description": "Enable the Gemma Model Router (experimental). Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.",
"markdownDescription": "Enable the Gemma Model Router. Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `false`", "markdownDescription": "Enable the Gemma Model Router (experimental). Requires a local endpoint serving Gemma via the Gemini API using LiteRT-LM shim.\n\n- Category: `Experimental`\n- Requires restart: `yes`\n- Default: `false`",
"default": false, "default": false,
"type": "boolean" "type": "boolean"
}, },