feat: integrate Google Generative AI as a fallback for OpenRouter in translation and chat services
This commit is contained in:
@@ -20,6 +20,10 @@ OPENROUTER_API_KEY=
|
||||
OPENROUTER_MODEL=nvidia/nemotron-3-super-120b-a12b:free
|
||||
OPENROUTER_BASE_URL=https://openrouter.ai/api/v1/chat/completions
|
||||
|
||||
# Google Generative AI (fallback provider)
|
||||
GOOGLE_API_KEY=AIzaSyAKUp_qGpJPFMaDxIe6x3PjV4ghRTQuZ3Q
|
||||
GOOGLE_MODEL=chat-bison-001
|
||||
|
||||
# Premium document translation (recommended for Translate PDF)
|
||||
DEEPL_API_KEY=
|
||||
DEEPL_API_URL=https://api-free.deepl.com/v2/translate
|
||||
|
||||
Reference in New Issue
Block a user