-
-
Notifications
You must be signed in to change notification settings - Fork 7.8k
update_settings_file deletes settings if settings file needs to be migrated #41344
Copy link
Copy link
Closed
Copy link
Labels
.contrib/good second issueIssue suitable for a repeat contributorIssue suitable for a repeat contributorarea:settingsFeedback for preferences, configuration, etcFeedback for preferences, configuration, etcmeta:easy repro stepsSteps to reproduce are easySteps to reproduce are easynever staleto keep the stalebot awayto keep the stalebot awaypriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Metadata
Metadata
Assignees
Labels
.contrib/good second issueIssue suitable for a repeat contributorIssue suitable for a repeat contributorarea:settingsFeedback for preferences, configuration, etcFeedback for preferences, configuration, etcmeta:easy repro stepsSteps to reproduce are easySteps to reproduce are easynever staleto keep the stalebot awayto keep the stalebot awaypriority:P2Average run-of-the-mill bugsAverage run-of-the-mill bugsstate:reproducibleVerified steps to reproduce included and someone on the team managed to reproduceVerified steps to reproduce included and someone on the team managed to reproduce
Type
Fields
Give feedbackNo fields configured for Bug.
Projects
Status
Bug Bashers
Summary
Zed overwrites Agent settings when choosing a different LLM from the Agent Panel.
Description
I have my Agent Panel docked to the left and my settings file needs an auto-migration, as it uses deprecated settings. When I choose a different model from the Agent Panel, Zed overwrites all settings related to it.
Steps to reproduce:
agentkey in rootsettings.json(setdocktoleft)Expected Behavior:
Zed should use the chosen model, only overwrite the
default_modelkey and not update the remaining user settings defined inagentkey.Actual Behavior:
Zed overwrites all settings pertaining to the
agentkey. This behavior occurs even if you don’t have a default model set.Screen capture
blog.settings.json.2025-10-28.01.46.43.mp4
Zed Version and System Specs
Zed: v0.209.6 (Zed)
OS: macOS 15.7
Memory: 18 GiB
Architecture: aarch64