Repository navigation
Expand file tree
/
Copy path.env.template
More file actions
95 lines (72 loc) · 2.95 KB
/
Copy path.env.template
File metadata and controls
95 lines (72 loc) · 2.95 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
# SAGE Environment Configuration Template
# Copy this file to .env and fill in your actual API keys
# NEVER commit .env files with real API keys to git!
# ==================================================
# LLM Service API Keys
# ==================================================
# OpenAI API Key (for GPT models)
# Get from: https://platform.openai.com/api-keys
# Optional cloud LLM key (leave empty for local-first)
OPENAI_API_KEY=
OPENAI_BASE_URL=
OPENAI_MODEL_NAME=
# SiliconCloud API Key (for alternative LLM services)
SILICONCLOUD_API_KEY=your_siliconcloud_api_key_here
# Jina API Key (for embedding services)
JINA_API_KEY=your_jina_api_key_here
# Alibaba cloud API Key (optional)
ALIBABA_API_KEY=
# Huawei Pangu API Key
PANGU_API_KEY=your_pangu_api_key_here
# SageLLM local endpoint (recommended local inference)
SAGELLM_API_KEY=EMPTY
SAGELLM_BASE_URL=http://localhost:8901/v1
SAGELLM_MODEL_NAME=Qwen/Qwen2.5-7B-Instruct
# Web Search API Key (for searcher tool in multiagent)
WEB_SEARCH_API_KEY=your_web_search_api_key_here
# Pangu API Key
PANGU_API_KEY=your_pangu_api_key_here
# ==================================================
# Temporary API Keys (for Examples & Demos)
# ==================================================
# These are temporary API keys used for running examples and demos.
# Configure these if you want to use specific models/backends for testing.
# NOTE: These should NOT be used in production!
# ==================================================
# Hugging Face Configuration
# ==================================================
# Hugging Face Token (for model downloads)
# Get from: https://huggingface.co/settings/tokens
HF_TOKEN=your_hf_token_here
# Hugging Face Mirror Endpoint (for China users)
HF_ENDPOINT=https://hf-mirror.com
# ==================================================
# Development Settings
# ==================================================
# Set to true to enable debug logging
SAGE_DEBUG=false
# Set to true to skip C++ extensions compilation (faster development)
SAGE_SKIP_CPP_EXTENSIONS=false
# Set log level (DEBUG, INFO, WARNING, ERROR)
SAGE_LOG_LEVEL=INFO
# Set to true when running tests
SAGE_TEST_MODE=false
# Set to test when running examples in test mode
SAGE_EXAMPLES_MODE=normal
# ==================================================
# SAGE Gateway / Studio Chat Mode Configuration
# ==================================================
# Gateway / Studio chat local-first defaults (SagePorts)
# Set these only when you want to force a cloud endpoint.
SAGE_CHAT_API_KEY=
SAGE_CHAT_MODEL=
SAGE_CHAT_BASE_URL=
# ==================================================
# Development Tools Cache Configuration
# ==================================================
# Configure cache directories for development tools to keep them centralized
# All cache files will be stored in .sage/cache/ directory
# Ruff cache directory (for linting)
RUFF_CACHE_DIR=.sage/cache/ruff
# Mypy cache directory (for type checking)
MYPY_CACHE_DIR=.sage/cache/mypy