支持gemini

This commit is contained in:
IndieKKY
2024-01-20 11:39:21 +08:00
parent 9038bf7128
commit 771a802728
2 changed files with 65 additions and 3 deletions

6
src/typings.d.ts vendored
View File

@@ -1,9 +1,15 @@
interface EnvData {
autoExpand?: boolean
flagDot?: boolean
aiType?: 'openai' | 'gemini'
// openai
apiKey?: string
serverUrl?: string
model?: string
// gemini
geminiApiKey?: string
translateEnable?: boolean
language?: string
hideOnDisableAutoTranslate?: boolean