-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
28 lines (23 loc) · 1.21 KB
/
Copy path.env.example
File metadata and controls
28 lines (23 loc) · 1.21 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
# Example environment variables for the CodeSetu project.
# Copy this file to .env and fill in the values for the provider you use.
# --- Provider selection -----------------------------------------------------
# Which backend CodeSetu talks to: sarvam | openai-compatible | huggingface.
CODESETU_PROVIDER=sarvam
# --- Sarvam (hosted Indian LLM API) -----------------------------------------
SARVAM_API_KEY=
SARVAM_BASE_URL=https://api.sarvam.ai/v1
# Model id from your Sarvam account; no default ships with CodeSetu.
SARVAM_MODEL=
# --- OpenAI-compatible (Ollama, vLLM, SGLang, OpenRouter, local servers) -----
# Used when CODESETU_PROVIDER=openai-compatible. Example for local Ollama:
# CODESETU_BASE_URL=http://localhost:11434/v1
# CODESETU_MODEL=qwen2.5-coder:7b
# CODESETU_API_KEY can be any non-empty string for keyless local servers.
CODESETU_API_KEY=
CODESETU_BASE_URL=
CODESETU_MODEL=
# --- Hugging Face (Inference API or a dedicated endpoint) -------------------
# Used when CODESETU_PROVIDER=huggingface. Set the model repo id via CODESETU_MODEL.
HF_TOKEN=
# Note: Agent Mode needs a model that reliably supports tool/function calling
# (e.g. Qwen2.5-Coder, Llama 3.1+, or a frontier model). Plain chat works with any.