mirror of
https://github.com/tiennm99/ccs.git
synced 2026-09-03 18:16:29 +00:00
fix(cliproxy): prevent agy model reset and add sonnet 4.6 models
This commit is contained in:
@@ -133,7 +133,8 @@ export function ensureProfileHooks(profileName: string): boolean {
|
||||
warn(`Malformed ${profileName}.settings.json: ${(parseError as Error).message}`)
|
||||
);
|
||||
}
|
||||
// Continue with empty settings, will add hooks
|
||||
// Never overwrite malformed settings files; avoid destructive data loss.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -114,7 +114,8 @@ export function ensureProfileHooks(profileName: string): boolean {
|
||||
warn(`Malformed ${profileName}.settings.json: ${(parseError as Error).message}`)
|
||||
);
|
||||
}
|
||||
// Continue with empty settings, will add hooks
|
||||
// Never overwrite malformed settings files; avoid destructive data loss.
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user