-
Notifications
You must be signed in to change notification settings - Fork 138
Expand file tree
/
Copy path.env.example
More file actions
42 lines (32 loc) · 1.08 KB
/
.env.example
File metadata and controls
42 lines (32 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Database Configuration
DATABASE_URL=postgresql://chattutor:changeme@localhost:5432/chattutor
# API Server
VITE_API_BASE_URL=http://localhost:8002
# Client
CLINET_BASE_URL=http://localhost:8001
# AI Configuration
# Your API key for the AI service
MODEL_API_KEY=your_api_key_here
# Base URL for the AI service (optional, defaults to OpenAI)
MODEL_BASE_URL=https://api.openai.com/v1
# Model for the main agent that chats with users
AGENT_MODEL=gpt-4
# Model provider
# Options: [openai, anthropic, deepseek]
AGENT_MODEL_PROVIDER=
# Model for generating chat titles (optional, defaults to AGENT_MODEL)
TITLE_MODEL=
# Optional, defaults to AGNET_MODEL_PROVIDER
TITLE_MODEL_PROVIDER=
# OSS Configuration (Optional - for image upload functionality)
# If not set, image upload will be unavailable
OSS_ENDPOINT=
OSS_ACCESS_KEY=
OSS_SECRET_KEY=
OSS_BUCKET=
OSS_REGION=
# Docker PostgreSQL Configuration (for docker-compose)
POSTGRES_PASSWORD=changeme
# Skip automatic database initialization on container startup (optional)
# Set to true if you want to manually initialize the database
SKIP_DB_INIT=false