fix: Update Settings type to remove grok and add meta wrapper props
Some checks are pending
CI / build (18.x) (push) Waiting to run
CI / build (20.x) (push) Waiting to run

This commit is contained in:
Khoa.vo 2026-01-07 19:36:46 +07:00
parent 962ff4667c
commit 5d4413ff51

View file

@ -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: ''
},