-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
49 lines (36 loc) · 1.98 KB
/
Copy path.env.example
File metadata and controls
49 lines (36 loc) · 1.98 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
# gitsema configuration — copy to .env and fill in values
# All variables are optional unless marked REQUIRED.
# ---------------------------------------------------------------------------
# Provider selection
# ---------------------------------------------------------------------------
# Embedding backend: "ollama" (default, local) or "http" (OpenAI-compatible API)
GITSEMA_PROVIDER=ollama
# ---------------------------------------------------------------------------
# Ollama provider (GITSEMA_PROVIDER=ollama)
# Ollama must be running at http://localhost:11434
# Pull the model first: ollama pull nomic-embed-text
# ---------------------------------------------------------------------------
# Default embedding model (used for both code and text when the others are unset)
GITSEMA_MODEL=nomic-embed-text
# Model for prose / documentation files (.md, .txt, .rst, ...)
# Defaults to GITSEMA_MODEL
# GITSEMA_TEXT_MODEL=nomic-embed-text
# Model for source code files (.ts, .js, .py, .rs, ...)
# Defaults to GITSEMA_TEXT_MODEL. Set a code-aware model for better precision.
# GITSEMA_CODE_MODEL=nomic-embed-code
# ---------------------------------------------------------------------------
# HTTP / OpenAI-compatible provider (GITSEMA_PROVIDER=http)
# ---------------------------------------------------------------------------
# Base URL of the embeddings API — REQUIRED when GITSEMA_PROVIDER=http
# GITSEMA_HTTP_URL=https://api.openai.com
# Optional Bearer token sent as Authorization: Bearer <key>
# GITSEMA_API_KEY=sk-...
# Model name sent in the request body (also used for text/code routing above)
# GITSEMA_MODEL=text-embedding-3-small
# ---------------------------------------------------------------------------
# Logging
# ---------------------------------------------------------------------------
# Set to "1" to enable debug output to console and .gitsema/gitsema.log
# GITSEMA_VERBOSE=1
# Maximum size of .gitsema/gitsema.log before rotation (bytes, default 1 MB)
# GITSEMA_LOG_MAX_BYTES=1048576