fix: gemini key validation
Signed-off-by: Varun Raj <varun@skcript.com>
This commit is contained in:
1 parent
c0fec68e43
commit
9f2f0ef7a6
6 files changed
+61
-24
No files matched your search
@@ -1,15 +1,17 @@
|
||||
import { createContext, useContext } from "react";
|
||||
|
||||
interface ConfigContextType {
|
||||
export interface ConfigContextType {
|
||||
immichURL: string;
|
||||
exImmichUrl: string;
|
||||
version?: string;
|
||||
geminiEnabled: boolean;
|
||||
}
|
||||
|
||||
const ConfigContext = createContext<ConfigContextType>({
|
||||
immichURL: "",
|
||||
exImmichUrl: "",
|
||||
version: "",
|
||||
geminiEnabled: false,
|
||||
});
|
||||
|
||||
export default ConfigContext;
|
||||
|
||||
Reference in new issue
Block a user