-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
68 lines (53 loc) · 2.71 KB
/
env.example
File metadata and controls
68 lines (53 loc) · 2.71 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
# Environment Variables Configuration
# Copy this file to .env.local and fill in your actual values
# ===== LLM Provider API Keys =====
# OpenAI API Key
# Get it from: https://platform.openai.com/api-keys
OPENAI_API_KEY=your-openai-api-key-here
# Google Gemini API Key
# Get it from: https://makersuite.google.com/app/apikey
GOOGLE_GENERATIVE_AI_API_KEY=your-google-api-key-here
GOOGLE_MODEL_SLUG=gemini-2.5-flash-preview-05-20
# OpenRouter API Key (Access to multiple models)
# Get it from: https://openrouter.ai/keys
OPENROUTER_API_KEY=your-openrouter-api-key-here
# Anthropic Claude API Key
# Get it from: https://console.anthropic.com/
ANTHROPIC_API_KEY=your-anthropic-api-key-here
# ===== AWS Bedrock Configuration =====
# Get credentials from: https://console.aws.amazon.com/iam/
AWS_ACCESS_KEY_ID=your-aws-access-key-id
AWS_SECRET_ACCESS_KEY=your-aws-secret-access-key
AWS_REGION=us-east-1
# ===== Other Services =====
# GitHub Personal Access Token (if needed)
PERSONAL_ACCESS_TOKEN=your-github-personal-access-token-here
# ===== Optional Configuration =====
# DrawIO Services Configuration
# DrawIO Base URL (for editor and export)
# Default: https://app.diagrams.net
# Alternative: Use a locally deployed draw.io instance
NEXT_PUBLIC_DRAWIO_BASE_URL=https://app.diagrams.net
# DrawIO Viewer URL (for viewing diagrams)
# Default: https://viewer.diagrams.net
NEXT_PUBLIC_DRAWIO_VIEWER_URL=https://viewer.diagrams.net
# DrawIO Preview URL (for comparison workbench preview)
# Default: https://viewer.diagrams.net/
NEXT_PUBLIC_DRAWIO_PREVIEW_URL=https://viewer.diagrams.net/
# DrawIO Convert URL (for PPT export conversion)
# Default: https://convert.diagrams.net/export
NEXT_PUBLIC_DRAWIO_CONVERT_URL=https://convert.diagrams.net/export
# ===== Runtime Model Configuration =====
# Note: You can also configure models directly in the UI via "Model Config"
# The UI configuration will be stored in browser localStorage and takes precedence
# over environment variables for runtime model settings.
# ===== Default Model Configuration =====
# Configure default models that will be available on first load
# Format: JSON array of model configurations
# Each model can specify: name, baseUrl, apiKey, models (with modelId, label, isStreaming)
#
# Example:
# NEXT_PUBLIC_DEFAULT_MODELS='[{"name":"Claude","baseUrl":"https://api.anthropic.com/v1","apiKey":"sk-ant-xxx","models":[{"modelId":"claude-3-sonnet","label":"Claude 3 Sonnet","isStreaming":false},{"modelId":"claude-3-opus","label":"Claude 3 Opus","isStreaming":true}]},{"name":"OpenAI","baseUrl":"https://api.openai.com/v1","apiKey":"sk-xxx","models":[{"modelId":"gpt-4","label":"GPT-4","isStreaming":true}]}]'
#
# If not set, the hardcoded default in the code will be used
NEXT_PUBLIC_DEFAULT_MODELS=