mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-01 20:23:36 +00:00
fix(ui): Sync phaseModels to server when changed
Previously, phaseModels only persisted to localStorage but the server reads from settings.json file. Now setPhaseModel/setPhaseModels/resetPhaseModels call syncSettingsToServer() to keep server-side settings in sync. Also added phaseModels to the syncSettingsToServer() updates object. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -223,6 +223,7 @@ export async function syncSettingsToServer(): Promise<boolean> {
|
||||
muteDoneSound: state.muteDoneSound,
|
||||
enhancementModel: state.enhancementModel,
|
||||
validationModel: state.validationModel,
|
||||
phaseModels: state.phaseModels,
|
||||
autoLoadClaudeMd: state.autoLoadClaudeMd,
|
||||
keyboardShortcuts: state.keyboardShortcuts,
|
||||
aiProfiles: state.aiProfiles,
|
||||
|
||||
Reference in New Issue
Block a user