-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv.example
More file actions
54 lines (42 loc) · 1.85 KB
/
Copy pathenv.example
File metadata and controls
54 lines (42 loc) · 1.85 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
# Environment Variables for Helm Visualizer
# Copy this file to .env.local and fill in your values.
# Never commit .env.local to version control.
# ---------------------------------------------------------------------------
# AI Chat (OpenAI)
# ---------------------------------------------------------------------------
# [REQUIRED for AI Chat] Your OpenAI API secret key.
# Obtain one at https://platform.openai.com/api-keys
OPENAI_API_KEY=
# [Optional] Base URL for the OpenAI-compatible API.
# Override to use Azure OpenAI, a local Ollama instance, or any other
# OpenAI-compatible endpoint.
# Default: https://api.openai.com/v1
OPENAI_BASE_URL=https://api.openai.com/v1
# [Optional] Chat Completions model name.
# Default: gpt-4o-mini
OPENAI_MODEL=gpt-4o-mini
# [Optional] Maximum number of tokens in the AI Chat completion response.
# Default: 1200
OPENAI_MAX_TOKENS=1200
# ---------------------------------------------------------------------------
# Rate Limiting (AI Chat endpoint)
# ---------------------------------------------------------------------------
# [Optional] Maximum number of chat requests allowed per IP per window.
# Default: 30
CHAT_RATE_LIMIT_MAX=30
# [Optional] Sliding rate-limit window size in milliseconds.
# Default: 60000 (1 minute)
CHAT_RATE_LIMIT_WINDOW_MS=60000
# ---------------------------------------------------------------------------
# Rendering
# ---------------------------------------------------------------------------
# [Optional] Maximum number of concurrent helm template / JS renderer
# invocations when rendering a chart against multiple environments.
# Default: 3
RENDER_CONCURRENCY=3
# ---------------------------------------------------------------------------
# Server
# ---------------------------------------------------------------------------
# [Optional] Port the Next.js server listens on.
# Default: 3000
PORT=3000