forked from r.muellner/velum-raycast
feat: persist last-used model in LocalStorage instead of preference
Drop the summaryModel preference (and the awkward textfield holding a raw model ID nobody could discover without poking the SDK types). Each AI view now controls its model dropdown, loads the shared velum.ai.last-model on mount, and writes it back on submit — so picking Claude 4.7 Opus in the summarize command becomes the prefilled default in briefing, action-items, structured-data, and reply next time around. Also drops 'model' from ReplyDefaults; the shared key supersedes it. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -10,7 +10,6 @@ export type NormalizedPreferences = {
|
||||
scope: string;
|
||||
sessionMode: SessionMode;
|
||||
quickOutput: QuickOutput;
|
||||
summaryModel: string;
|
||||
userFullName: string;
|
||||
maxSessions: number;
|
||||
closeAfterAction: boolean;
|
||||
@@ -37,8 +36,6 @@ export function getPreferences(): NormalizedPreferences {
|
||||
scope: preferences.scope?.trim() || "profile",
|
||||
sessionMode: preferences.sessionMode,
|
||||
quickOutput: preferences.quickOutput,
|
||||
summaryModel:
|
||||
preferences.summaryModel?.trim() || "anthropic-claude-sonnet-4-6",
|
||||
userFullName: preferences.userFullName?.trim() ?? "",
|
||||
maxSessions: parsePositiveInteger(preferences.maxSessions, 20),
|
||||
closeAfterAction: preferences.closeAfterAction ?? true,
|
||||
|
||||
Reference in New Issue
Block a user