mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Fix linter errors
This commit is contained in:
15 files changed
+93
-70
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { createContext } from 'react';
|
||||
|
||||
export interface AISettings {
|
||||
apiKey: string;
|
||||
baseUrl: string;
|
||||
model: string;
|
||||
}
|
||||
|
||||
export interface AISettingsContextType {
|
||||
settings: AISettings;
|
||||
updateSettings: (settings: Partial<AISettings>) => void;
|
||||
isConfigured: boolean;
|
||||
}
|
||||
|
||||
export const AISettingsContext = createContext<AISettingsContextType | undefined>(undefined);
|
||||
Reference in new issue
Block a user