-
Notifications
You must be signed in to change notification settings - Fork 9.5k
Description
What happened?
When viewing the settings in Gemini CLI, the session retention field displays as [object Object]* instead of a readable value. Additionally, this setting cannot be changed; hitting enter, typing, or any other interaction has no effect. This makes it impossible to view or modify the session retention setting.
What did you expect to happen?
I expected the session retention setting to display a clear, human-readable value (such as a number or description) and to be editable or selectable like other settings.
Client information
About Gemini CLI
**CLI Version**: 0.17.0-nightly.20251117.cf8de02c6
**Git Commit**: cf8de02c6
**Model**: auto
**Sandbox**: no sandbox
**OS**: win32
**Auth Method**: vertex-ai
**GCP Project**: gen-lang-client-0992629152
Login information
I have tested all three authentication methods in the Gemini CLI settings:
Login with Google
Use Gemini API Key
Vertex AI
The issue with the session retention setting appears regardless of which authentication method is selected.
Anything else we need to know?
The issue occurs every time I open the settings menu, regardless of authentication method or project directory.
Other settings appear and function as expected.
I am running the CLI in a standard Windows terminal (PowerShell 7) inside Visual Studio Code.
Let me know if you need logs, additional screenshots, or further environment details.
Operating System: Windows 11 Enterprise (Build 26100)
Processor: Intel(R) Core(TM) Ultra 7 265U (2.10 GHz)

Metadata
Metadata
Assignees
Labels
Type
Projects
Status