-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
62 lines (56 loc) · 2.75 KB
/
Copy path.env.example
File metadata and controls
62 lines (56 loc) · 2.75 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
# ===========================================================================
# Scalable AI Provider Configuration
# ===========================================================================
# These generic environment variables configure which AI/LLM provider and
# model Scalable uses. They are provider-agnostic — set them once and switch
# providers by changing AI_PROVIDER and LLM_MODEL_NAME.
#
# Supported providers:
# openai — OpenAI (GPT-5.2, GPT-5.5, etc.)
# anthropic — Anthropic (Claude Opus, Sonnet, Haiku)
# google — Google Gemini (2.0 Flash, 1.5 Pro, etc.)
# xai — xAI (Grok-2, Grok-3)
# groq — Groq (Llama, Mixtral — fast inference)
# ollama — Local Ollama models (Llama3, Mistral, etc.)
# ===========================================================================
# Provider name — determines which AI service to use.
# Options: openai | anthropic | google | xai | groq | ollama
AI_PROVIDER=openai
# Universal API key — works for any provider that requires authentication.
# This single key is used unless a provider-specific key is set (see below).
AI_API_KEY=your_api_key_here
# LLM model of choice for generation tasks.
# Examples by provider:
# openai: gpt-4o, gpt-4o-mini, o1, o1-mini
# anthropic: claude-opus-4-20250514, claude-sonnet-4-20250514, claude-haiku-3-20250414
# google: gemini-2.0-flash, gemini-1.5-pro, gemini-1.5-flash
# xai: grok-3, grok-2
# groq: llama-3.1-70b-versatile, mixtral-8x7b-32768
# ollama: llama3, mistral, codellama
LLM_MODEL_NAME=gpt-5.5
# Optional: Custom API base URL.
# Required for OpenAI-compatible proxies (e.g., Azure, vLLM, LiteLLM).
# xAI defaults to https://api.x.ai/v1 automatically.
# Ollama defaults to http://localhost:11434 automatically.
# AI_BASE_URL=https://api.openai.com/v1
# ===========================================================================
# Provider-Specific API Keys (Optional Overrides)
# ===========================================================================
# If you use multiple providers, you can set provider-specific keys below.
# These take priority over AI_API_KEY for their respective provider.
#
# OPENAI_API_KEY=sk-...
# ANTHROPIC_API_KEY=sk-ant-...
# GOOGLE_API_KEY=AIza...
# XAI_API_KEY=xai-...
# GROQ_API_KEY=gsk_...
# ===========================================================================
# Advanced: SCALABLE_AI_* Overrides
# ===========================================================================
# These Scalable-specific variables take priority over the generic ones above.
# Use them only if you need separate config for Scalable vs. other tools.
#
# SCALABLE_AI_BACKEND=openai
# SCALABLE_AI_MODEL=gpt-4o
# SCALABLE_AI_ENDPOINT=https://custom-endpoint.example.com/v1
# SCALABLE_AI_API_KEY=sk-...