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;
|
imageCount: number;
|
||||||
theme: 'light' | 'dark';
|
theme: 'light' | 'dark';
|
||||||
// Provider selection
|
// Provider selection
|
||||||
provider: 'whisk' | 'grok' | 'meta';
|
provider: 'whisk' | 'meta';
|
||||||
// Whisk (Google)
|
// Whisk (Google)
|
||||||
whiskCookies: string;
|
whiskCookies: string;
|
||||||
// Grok (xAI) - xLmiler/grok2api_python backend
|
|
||||||
grokApiUrl: string;
|
|
||||||
grokApiKey: string;
|
|
||||||
grokCookies: string;
|
|
||||||
// Meta AI
|
// Meta AI
|
||||||
|
useMetaFreeWrapper: boolean;
|
||||||
|
metaFreeWrapperUrl: string;
|
||||||
metaCookies: string;
|
metaCookies: string;
|
||||||
facebookCookies: string;
|
facebookCookies: string;
|
||||||
};
|
};
|
||||||
|
|
@ -186,9 +184,8 @@ export const useStore = create<AppState>()(
|
||||||
theme: 'dark',
|
theme: 'dark',
|
||||||
provider: 'whisk',
|
provider: 'whisk',
|
||||||
whiskCookies: '',
|
whiskCookies: '',
|
||||||
grokApiUrl: 'http://localhost:3001',
|
useMetaFreeWrapper: true,
|
||||||
grokApiKey: '',
|
metaFreeWrapperUrl: 'http://localhost:8000',
|
||||||
grokCookies: '',
|
|
||||||
metaCookies: '',
|
metaCookies: '',
|
||||||
facebookCookies: ''
|
facebookCookies: ''
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue