-
-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy path.env.example
More file actions
65 lines (51 loc) · 2.15 KB
/
.env.example
File metadata and controls
65 lines (51 loc) · 2.15 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
# DartLab — 환경 변수 설정
# 이 파일을 .env로 복사하여 사용하세요.
# ── 데이터 ──
# 로컬 데이터 저장 디렉토리 (기본값: ~/dartlab-data)
# → config.py
# DARTLAB_DATA_DIR=/home/user/dartlab-data
# DART OpenAPI 키 (https://opendart.fss.or.kr 에서 발급)
# → engines/dart/openapi/client.py
# → 최근 공시목록 / 수주공시 AI 검색도 이 키를 사용하며, UI Settings에서 저장 가능
# DART_API_KEY=xxxxxxxxxxxxxxxx
# DART_API_KEYS=key1,key2 # 복수 키 (쉼표 구분)
# EDINET API 키 (https://api.edinet-fsa.go.jp/api/auth/index.aspx?mode=1 에서 발급, 일본 IP만 접속 가능)
# → engines/edinet/openapi/client.py
# EDINET_API_KEY=xxxxxxxxxxxxxxxx
# FRED API 키 (https://fred.stlouisfed.org/docs/api/api_key.html 에서 무료 발급)
# → engines/fred/client.py
# FRED_API_KEY=xxxxxxxxxxxxxxxx
# FRED_API_KEYS=key1,key2 # 복수 키 (쉼표 구분, 120 RPM 로테이션)
# ── 서버 ──
# 서버 호스트 (기본값: 127.0.0.1)
# → server/runtime.py, engines/ai/tools/_helpers.py
# DARTLAB_HOST=0.0.0.0
# CORS 허용 origin (기본값: localhost만 허용)
# 프로덕션: 도메인 명시, 개발: * 사용 가능
# → server/__init__.py
# DARTLAB_CORS_ORIGINS=https://example.com,https://app.example.com
# 브라우저 자동 열기 비활성화
# → cli/commands/ai.py
# DARTLAB_NO_BROWSER=1
# Ollama 모델 preload (기본값: 자동 감지)
# → server/services/ai_profile.py
# DARTLAB_PRELOAD_OLLAMA=1
# 코딩 런타임 활성화 (비로컬 호스트에서 명시적 활성화)
# → engines/ai/tools/_helpers.py
# DARTLAB_ENABLE_CODING_RUNTIME=1
# Codex CLI 샌드박스 모드
# → engines/ai/providers/support/codex_cli.py
# DARTLAB_CODEX_SANDBOX=docker
# ── LLM Provider ──
# OpenAI API
# → __init__.py, server/api/ai.py
# OPENAI_API_KEY=sk-...
# Anthropic API
# → engines/ai/providers/claude_code.py
# ANTHROPIC_API_KEY=sk-ant-...
# LLM 기본 base URL 오버라이드
# → engines/ai/types.py
# DARTLAB_LLM_BASE_URL=http://localhost:11434/v1
# 설정 파일 디렉토리 (기본값: ~/.dartlab)
# → core/ai/secrets.py, core/ai/profile.py
# DARTLAB_HOME=~/.dartlab