Skip to content

Commit b765fb8

Browse files
authored
fix(cli): expose model.name setting in settings dialog for persistence (#19605)
1 parent fb0c7d2 commit b765fb8

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

docs/cli/settings.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,13 @@ they appear in the UI.
8282

8383
### Model
8484

85-
| UI Label | Setting | Description | Default |
86-
| ----------------------- | ---------------------------- | -------------------------------------------------------------------------------------- | ------- |
87-
| Max Session Turns | `model.maxSessionTurns` | Maximum number of user/model/tool turns to keep in a session. -1 means unlimited. | `-1` |
88-
| Compression Threshold | `model.compressionThreshold` | The fraction of context usage at which to trigger context compression (e.g. 0.2, 0.3). | `0.5` |
89-
| Disable Loop Detection | `model.disableLoopDetection` | Disable automatic detection and prevention of infinite loops. | `false` |
90-
| Skip Next Speaker Check | `model.skipNextSpeakerCheck` | Skip the next speaker check. | `true` |
85+
| UI Label | Setting | Description | Default |
86+
| ----------------------- | ---------------------------- | -------------------------------------------------------------------------------------- | ----------- |
87+
| Model | `model.name` | The Gemini model to use for conversations. | `undefined` |
88+
| Max Session Turns | `model.maxSessionTurns` | Maximum number of user/model/tool turns to keep in a session. -1 means unlimited. | `-1` |
89+
| Compression Threshold | `model.compressionThreshold` | The fraction of context usage at which to trigger context compression (e.g. 0.2, 0.3). | `0.5` |
90+
| Disable Loop Detection | `model.disableLoopDetection` | Disable automatic detection and prevention of infinite loops. | `false` |
91+
| Skip Next Speaker Check | `model.skipNextSpeakerCheck` | Skip the next speaker check. | `true` |
9192

9293
### Context
9394

packages/cli/src/config/settingsSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -844,7 +844,7 @@ const SETTINGS_SCHEMA = {
844844
requiresRestart: false,
845845
default: undefined as string | undefined,
846846
description: 'The Gemini model to use for conversations.',
847-
showInDialog: false,
847+
showInDialog: true,
848848
},
849849
maxSessionTurns: {
850850
type: 'number',

0 commit comments

Comments
 (0)