Replace individual provider SDKs (@ai-sdk/openai, @ai-sdk/google, @ai-sdk/anthropic) with the Vercel AI Gateway. Cloud models are now accessed via a single AI_GATEWAY_API_KEY with provider/model strings (e.g. openai/gpt-4o-mini, google/gemini-2.5-flash). Ollama remains available as a local fallback via @ai-sdk/openai-compatible. Made-with: Cursor
18 lines
564 B
Text
18 lines
564 B
Text
# Database (shared PostgreSQL on CT 102)
|
|
DATABASE_URL="postgresql://echos_ocr:YOUR_PASSWORD@192.168.68.102:5432/echos_ocr"
|
|
|
|
# Vercel AI Gateway (routes to OpenAI, Google, Anthropic, etc.)
|
|
AI_GATEWAY_API_KEY=""
|
|
|
|
# Ollama (only needed if using Ollama as the AI provider)
|
|
OLLAMA_BASE_URL="http://192.168.68.108:11434"
|
|
|
|
# MinIO S3 Storage (CT 105)
|
|
MINIO_ENDPOINT="192.168.68.105"
|
|
MINIO_PORT="9000"
|
|
MINIO_ACCESS_KEY="minioadmin"
|
|
MINIO_SECRET_KEY="YOUR_MINIO_SECRET"
|
|
MINIO_BUCKET="echos-ocr"
|
|
|
|
# Folder Watch (optional, mount a host path into the container)
|
|
WATCH_DIR=""
|