This repository was archived by the owner on Mar 10, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
47 lines (38 loc) · 1.56 KB
/
.env.example
File metadata and controls
47 lines (38 loc) · 1.56 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
43
44
45
46
47
# Day1 — Git-like memory layer for AI agents
# Copy this file to .env and fill in your values.
#
# Docker Compose? The DB URL is overridden automatically.
# Local dev? Use localhost:6001 after running MatrixOne.
# MatrixOne connection string (required)
DAY1_DATABASE_URL=mysql+aiomysql://root:111@localhost:6001/day1
# Embedding provider: "openai" | "openrouter" | "doubao" | "mock"
DAY1_EMBEDDING_PROVIDER=openrouter
# OpenRouter (Qwen3 embedding via OpenAI-compatible API)
DAY1_OPENROUTER_API_KEY=your-openrouter-api-key
DAY1_OPENROUTER_BASE_URL=https://openrouter.ai/api/v1
DAY1_OPENROUTER_EMBEDDING_MODEL=qwen/qwen3-embedding-0.6b
# OpenAI API key for embeddings (if using openai provider)
DAY1_OPENAI_API_KEY=
DAY1_OPENAI_EMBEDDING_MODEL=text-embedding-3-small
# Doubao (Volces/ByteDance) Embedding API
DAY1_DOUBAO_API_KEY=your-doubao-api-key
DAY1_DOUBAO_BASE_URL=https://ark.cn-beijing.volces.com/api/v3
DAY1_DOUBAO_EMBEDDING_MODEL=doubao-embedding-vision-251215
DAY1_DOUBAO_LLM_MODEL=doubao-seed-1-6-251015
# LLM Configuration (OpenAI-compatible API)
DAY1_LLM_PROVIDER=custom
DAY1_LLM_API_KEY=your-llm-api-key
DAY1_LLM_BASE_URL=https://your-llm-endpoint.com/v1
DAY1_LLM_MODEL=your-model-name
# Legacy Anthropic (for backward compatibility)
DAY1_ANTHROPIC_API_KEY=
# Auth (optional; requires DAY1_DATABASE_URL)
# DAY1_AUTH_ENABLED=false
# DAY1_AUTH_ADMIN_KEY=change-me-bootstrap-admin-key
# DAY1_BOOTSTRAP_ADMIN_USER_ID=admin
#
# Client-side request key used by the Go CLI when calling the API:
# DAY1_API_KEY=day1_xxxxxx_yyyyyy
# Logging
DAY1_LOG_LEVEL=DEBUG
DAY1_LOG_FORMAT=text