fix: Update Settings type to remove grok and add meta wrapper props
This commit is contained in:
parent
962ff4667c
commit
5d4413ff51
1 changed files with 5 additions and 8 deletions
13
lib/store.ts
13
lib/store.ts
|
|
@ -82,14 +82,12 @@ interface AppState {
|
|||
imageCount: number;
|
||||
theme: 'light' | 'dark';
|
||||
// Provider selection
|
||||
provider: 'whisk' | 'grok' | 'meta';
|
||||
provider: 'whisk' | 'meta';
|
||||
// Whisk (Google)
|
||||
whiskCookies: string;
|
||||
// Grok (xAI) - xLmiler/grok2api_python backend
|
||||
grokApiUrl: string;
|
||||
grokApiKey: string;
|
||||
grokCookies: string;
|
||||
// Meta AI
|
||||
useMetaFreeWrapper: boolean;
|
||||
metaFreeWrapperUrl: string;
|
||||
metaCookies: string;
|
||||
facebookCookies: string;
|
||||
};
|
||||
|
|
@ -186,9 +184,8 @@ export const useStore = create<AppState>()(
|
|||
theme: 'dark',
|
||||
provider: 'whisk',
|
||||
whiskCookies: '',
|
||||
grokApiUrl: 'http://localhost:3001',
|
||||
grokApiKey: '',
|
||||
grokCookies: '',
|
||||
useMetaFreeWrapper: true,
|
||||
metaFreeWrapperUrl: 'http://localhost:8000',
|
||||
metaCookies: '',
|
||||
facebookCookies: ''
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue