🔧 chore: switch chat backend to OpenRouter API

- Replace Azure OpenAI and Google Gemini with OpenRouter API
- Update generate-env.mjs to use OPENROUTER_API_KEY
- Remove temporary doc_nils.md file

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Wuesteon 2025-12-12 20:50:03 +01:00
parent a9aeffabb1
commit 612f6a10ef
4 changed files with 260 additions and 1234 deletions

View file

@ -67,17 +67,9 @@ CHAT_DATABASE_URL=postgresql://manacore:devpassword@localhost:5432/chat
DEV_BYPASS_AUTH=true
DEV_USER_ID=00000000-0000-0000-0000-000000000000
# Google Gemini API (primary - fast & cost-effective)
GOOGLE_GENAI_API_KEY=AIzaSyApsYQXxN6PuXpF8-7j6MonCACwS0ZxNRc
# Azure OpenAI (fallback)
AZURE_OPENAI_ENDPOINT=https://memoroseopenai.openai.azure.com
AZURE_OPENAI_API_KEY=3082103c9b0d4270a795686ccaa89921
AZURE_OPENAI_API_VERSION=2024-12-01-preview
# Chat Supabase (if using Supabase for chat data)
CHAT_SUPABASE_URL=https://your-chat-project.supabase.co
CHAT_SUPABASE_ANON_KEY=your-supabase-anon-key
# OpenRouter API (all AI models via OpenRouter)
# Get your API key at https://openrouter.ai/keys
OPENROUTER_API_KEY=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
# ============================================
# MAERCHENZAUBER PROJECT