Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
70 lines (63 loc) · 2.96 KB
/
Copy path.env.example
File metadata and controls
70 lines (63 loc) · 2.96 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Memorix Environment Variables
# Copy this file to .env and fill in your actual values.
#
# Secrets go here. Behavior settings go in memorix.yml
# Run "memorix init" to generate both files interactively.
# ── LLM API Key ──
# Required only if llm.provider is set in memorix.yml
# MEMORIX_LLM_API_KEY=sk-your-key-here
# MEMORIX_LLM_BASE_URL=https://api.openai.com/v1
# ── Embedding API Key ──
# Required only if embedding.provider is "api" in memorix.yml
# Falls back to MEMORIX_LLM_API_KEY if not set
# MEMORIX_EMBEDDING_API_KEY=sk-your-key-here
# MEMORIX_EMBEDDING_BASE_URL=https://api.openai.com/v1
# ── HTTP rerank (optional) ──
# Cohere-compatible POST {base_url}/rerank. Model id is sent as configured.
# Bearer inherits the memory LLM key only when BASE_URL matches the LLM endpoint.
# Set MEMORIX_RERANK_API_KEY when the rerank host is different.
# MEMORIX_RERANK_PROVIDER=http
# MEMORIX_RERANK_MODEL=rerank-model
# MEMORIX_RERANK_BASE_URL=https://api.example.com/v1
# MEMORIX_RERANK_API_KEY=
# ── Unified Key (optional) ──
# Single key that works for both LLM and Embedding
# MEMORIX_API_KEY=sk-your-key-here
# ── Compatibility Keys (lowest priority) ──
# Standard provider env vars — used as fallback if MEMORIX_* keys not set
# OPENAI_API_KEY=sk-...
# ANTHROPIC_API_KEY=sk-ant-...
# OPENROUTER_API_KEY=sk-or-...
# REQUESTY_API_KEY=rqsty-...
# API_ROUTE_API_KEY=sk-... # memory LLM only, when provider = "apiroute"
# CHEAPER_INFERENCE_API_KEY=ci_live_... # memory LLM only, when provider = "cheaperinference"
# RUNCRATE_API_KEY=... # memory LLM only, when provider = "runcrate"
# ── Optional MiniMax Media Generation ──
# Explicit CLI generation only. Never commit these keys.
# MINIMAX_API_KEY=...
# MINIMAX_CN_API_KEY=...
# MINIMAX_REGION=global
# MINIMAX_IMAGE_MODEL=image-01
# MINIMAX_IMAGE_BASE_URL=https://api.minimax.io
# MINIMAX_VIDEO_MODEL=MiniMax-H3
# MINIMAX_VIDEO_BASE_URL=https://api.minimax.io
# Explicit, opt-in audio transcription. Supported providers: openai, groq.
# MEMORIX_TRANSCRIPTION_PROVIDER=openai
# MEMORIX_TRANSCRIPTION_MODEL=gpt-4o-transcribe
# OPENAI_API_KEY=...
# GROQ_API_KEY=...
# Set only after reviewing provider billing before allowing MCP-originated jobs.
# MEMORIX_MCP_MEDIA_TRANSCRIPTION=1
#
# MCP generation is disabled by default because it can incur provider charges.
# Set only after deliberately authorizing agent-initiated generation:
# MEMORIX_MCP_MEDIA_GENERATION=1
# ── HTTP Control Plane Limits ──
# JSON request body limit (default 10 MiB, maximum 64 MiB).
# MEMORIX_HTTP_MAX_BODY_BYTES=10485760
# Optional Bearer token for HTTP control-plane requests. When set, /health
# remains public for readiness checks and all other endpoints require the token.
# MEMORIX_HTTP_AUTH_TOKEN=replace-with-a-long-random-token
# Non-loopback binds are refused unless a token is set or this explicit unsafe
# opt-in is present. Keep this unset for normal local development.
# MEMORIX_HTTP_ALLOW_UNAUTHENTICATED_BIND=1